* Makefile ($(includedir)/stubs.h): Add missing backslash.
[platform/upstream/glibc.git] / Makefile
index 30e0204..8ff7284 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,10 +51,10 @@ sysdep-subdirs := $(subst $(\n), ,$(sysdep-subdirs))
 endif
 
 # These are the subdirectories containing the library source.
-subdirs = csu assert ctype db locale intl math setjmp signal stdlib    \
+subdirs = csu assert ctype db locale intl catgets math setjmp signal stdlib \
          stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd\
-         posix io termios resource misc socket sysvipc gmon gnulib     \
-         wctype $(wildcard crypt) manual $(sysdep-subdirs) elf
+         posix io termios resource misc login socket sysvipc gmon gnulib \
+         wctype $(wildcard crypt) manual $(sysdep-subdirs) elf po
 export subdirs := $(subdirs)   # Benign, useless in GNU make before 3.63.
 
 # The mach and hurd subdirectories have many generated header files which
@@ -144,7 +144,9 @@ $(includedir)/stubs.h: subdir_install
         echo '   in the C library which is a stub, meaning it will fail';\
         echo '   every time called, usually setting errno to ENOSYS.  */';\
         sort $(subdir-stubs)) > $(objpfx)stubs.h
-       $(INSTALL_DATA) $(objpfx)stubs.h $@
+       if test -r $@ && cmp -s $(objpfx)stubs.h $@; \
+       then echo stubs.h unchanged ; \
+       else $(INSTALL_DATA) $(objpfx)stubs.h $@; fi
        rm -f $(objpfx)stubs.h
 \f
 # This makes the Info or DVI file of the documentation from the Texinfo source.
@@ -220,7 +222,7 @@ parent_echo-distinfo:
 \f
 # Make the distribution tarfile.
 
-distribute  := README INSTALL NOTES COPYING.LIB COPYING NEWS           \
+distribute  := README INSTALL FAQ NOTES COPYING.LIB COPYING NEWS       \
               ChangeLog ChangeLog.[0-9]                                \
               Makefile Makeconfig Makerules Rules Make-dist MakeTAGS   \
               extra-lib.mk o-iterator.mk                               \