Mark generated files as "DO NOT EDIT".
authorBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 14:54:51 +0000 (14:54 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Oct 2006 14:54:51 +0000 (14:54 +0000)
21 files changed:
ChangeLog
gnulib-tool
modules/alloca-opt
modules/argz
modules/arpa_inet
modules/byteswap
modules/configmake
modules/fcntl
modules/fnmatch
modules/getopt
modules/glob
modules/inttypes
modules/netinet_in
modules/poll
modules/stdbool
modules/stdint
modules/sys_select
modules/sys_socket
modules/sys_stat
modules/sysexits
modules/unistd

index 7555b060020a40be3f9b290b17a4b8697ddc2abd..023eb6aa823ecb63541691a4ea116ad47e04fdc9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2006-10-07  Bruno Haible  <bruno@clisp.org>
+
+       * modules/alloca-opt (alloca.h): Add a "BO NOT EDIT" comment.
+       * modules/argz (argz.h): Likewise.
+       * modules/arpa_inet (arpa/inet.h): Likewise.
+       * modules/byteswap (byteswap.h): Likewise.
+       * modules/configmake (configmake.h): Likewise.
+       * modules/fcntl (fcntl.h): Likewise.
+       * modules/fnmatch (fnmatch.h): Likewise.
+       * modules/getopt (getopt.h): Likewise.
+       * modules/glob (glob.h): Likewise.
+       * modules/inttypes (inttypes.h): Likewise.
+       * modules/netinet_in (netinet/in.h): Likewise.
+       * modules/poll (poll.h): Likewise.
+       * modules/stdbool (stdbool.h): Likewise.
+       * modules/stdint (stdint.h): Likewise.
+       * modules/sys_select (sys/select.h): Likewise.
+       * modules/sys_socket (sys/socket.h): Likewise.
+       * modules/sys_stat (sys/stat.h): Likewise.
+       * modules/sysexits (sysexits.h): Likewise.
+       * modules/unistd (unistd.h): Likewise.
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Add a "BO NOT EDIT" comment to the generated file.
+       (func_import): Likewise for gnulib-comp.m4.
+
 2006-10-03  Bruno Haible  <bruno@clisp.org>
 
        * modules/sublist: New file.
index 5d39ed81549690a6f8d8fe1199d25538a553fb75..4fb7d5e62ac8012de3e0a1014c4474631973fca4 100755 (executable)
@@ -22,7 +22,7 @@
 
 progname=$0
 package=gnulib
-cvsdatestamp='$Date: 2006-10-02 11:40:10 $'
+cvsdatestamp='$Date: 2006-10-07 14:54:51 $'
 last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'`
 version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'`
 nl='
@@ -1086,6 +1086,7 @@ func_emit_lib_Makefile_am ()
     perhapsLT=
     sed_eliminate_LDFLAGS='/^lib_LDFLAGS[       ]*+=/d'
   fi
+  echo "## DO NOT EDIT! GENERATED AUTOMATICALLY!"
   echo "## Process this file with automake to produce Makefile.in."
   func_emit_copyright_notice
   if test -n "$actioncmd"; then
@@ -1199,6 +1200,7 @@ func_emit_tests_Makefile_am ()
     sed_eliminate_LDFLAGS='/^lib_LDFLAGS[       ]*+=/d'
   fi
   testsbase_inverse=`echo "$testsbase" | sed -e 's,/$,,' | sed -e 's,[^/][^/]*,..,g'`
+  echo "## DO NOT EDIT! GENERATED AUTOMATICALLY!"
   echo "## Process this file with automake to produce Makefile.in."
   func_emit_copyright_notice
   echo
@@ -1846,6 +1848,7 @@ func_import ()
   # Create m4/gnulib-comp.m4.
   func_dest_tmpfilename $m4base/gnulib-comp.m4
   (
+    echo "# DO NOT EDIT! GENERATED AUTOMATICALLY!"
     func_emit_copyright_notice
     echo "#"
     echo "# This file represents the compiled summary of the specification in"
index ae0084c2a9b3b1c3ba9ea4d5969409cb83476861..895741bbe1aace8b37a92872efac8c43191b0614 100644 (file)
@@ -19,7 +19,9 @@ EXTRA_DIST += alloca_.h
 # We need the following in order to create <alloca.h> when the system
 # doesn't have one that works with the given compiler.
 alloca.h: alloca_.h
-       cp -f $(srcdir)/alloca_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/alloca_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += alloca.h alloca.h-t
 
index 63a6a29cdfd20a007853c20bc890de138f875bab..d516b5fb9429ca549e87ce03a59a2718f2447dc0 100644 (file)
@@ -18,7 +18,9 @@ EXTRA_DIST += argz_.h
 # We need the following in order to create <argz.h> when the system
 # doesn't have one that works with the given compiler.
 argz.h: argz_.h
-       cp -f $(srcdir)/argz_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/argz_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += argz.h argz.h-t
 
index cbbae09fe679f567eb291be36aebb425878ed3e8..250c15b0ff23124fcb0333187e08956ca06b26b0 100644 (file)
@@ -18,7 +18,9 @@ BUILT_SOURCES += $(ARPA_INET_H)
 arpa/inet.h:
        test -d arpa || mkdir arpa
        rm -f $@-t $@
-       echo '#include <sys/socket.h>' >$@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '#include <sys/socket.h>'; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
 MOSTLYCLEANDIRS += arpa
index 3f50ab600c11a226252540cccdcc7deca00d5801..d76542d7775d6d8c9da086617d8c0286e06337e2 100644 (file)
@@ -17,7 +17,9 @@ EXTRA_DIST += byteswap_.h
 # We need the following in order to create <byteswap.h> when the system
 # doesn't have one.
 byteswap.h: byteswap_.h
-       cp -f $(srcdir)/byteswap_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/byteswap_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
 
index c0354e434f3a2d5fbf3dd675639ff8fee95399ea..a19d29bf0c24fa8b8e5c1d067d340910a4e1505f 100644 (file)
@@ -27,7 +27,7 @@ Makefile.am:
 # listed in the Automake documentation.
 configmake.h: Makefile
        rm -f $@-t $@
-       ( \
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#define PREFIX "$(prefix)"'; \
          echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
          echo '#define BINDIR "$(bindir)"'; \
@@ -54,7 +54,7 @@ configmake.h: Makefile
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
          echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
          echo '#define PKGDATADIR "$(pkgdatadir)"'; \
-       :) | sed '/""/d' >$@-t
+       } | sed '/""/d' > $@-t
        mv $@-t $@
 BUILT_SOURCES += configmake.h
 CLEANFILES += configmake.h configmake.h-t
index 357bdfa318324020e638dce29965057574659824..350ca5002ac80bb772e7ba89e9b6fa1c45e4a4bb 100644 (file)
@@ -20,8 +20,10 @@ EXTRA_DIST += fcntl_.h
 # doesn't have one that works with the given compiler.
 fcntl.h: fcntl_.h
        rm -f $@-t $@
-       sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
-           < $(srcdir)/fcntl_.h > $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
+             < $(srcdir)/fcntl_.h; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
 
index 83bd17e7ca52d102c7e2c1fad377438f04723f6e..c086b1946957151e7e27a415ddd4cf1230c88de9 100644 (file)
@@ -22,7 +22,9 @@ EXTRA_DIST += fnmatch_.h fnmatch_loop.c
 # We need the following in order to create <fnmatch.h> when the system
 # doesn't have one that supports the required API.
 fnmatch.h: fnmatch_.h
-       cp -f $(srcdir)/fnmatch_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/fnmatch_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
 
index ee754bc12f82bacbec4aa09bf666616b346ffddc..bf1da551218df7a6baf11245e744372224b2fad1 100644 (file)
@@ -22,7 +22,9 @@ EXTRA_DIST += getopt_.h getopt_int.h
 # We need the following in order to create <getopt.h> when the system
 # doesn't have one that works with the given compiler.
 getopt.h: getopt_.h
-       cp -f $(srcdir)/getopt_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/getopt_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += getopt.h getopt.h-t
 
index 2dc8ce1d601aeaf55194189e28da3aa6d59fb1fa..77a6da0f8d0eef7cd600d6e9bd166a19c593fae4 100644 (file)
@@ -30,7 +30,9 @@ EXTRA_DIST += glob_.h glob-libc.h
 # We need the following in order to create <glob.h> when the system
 # doesn't have one that works with the given compiler.
 glob.h: glob_.h
-       cp -f $(srcdir)/glob_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/glob_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += glob.h glob.h-t
 
index a5b9358a9f4788e724cda43289fc2b25fcedeb3c..d61614b28e3d0f35822d5b2652d36fa66382da11 100644 (file)
@@ -21,16 +21,18 @@ EXTRA_DIST += inttypes_.h
 # doesn't have one that works with the given compiler.
 inttypes.h: inttypes_.h
        rm -f $@-t $@
-       sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-           -e 's|@''ABSOLUTE_INTTYPES_H''@|$(ABSOLUTE_INTTYPES_H)|g' \
-           -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
-           -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
-           -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
-           -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
-           -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
-           -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
-           -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
-           < $(srcdir)/inttypes_.h > $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
+             -e 's/@''ABSOLUTE_INTTYPES_H''@/$(ABSOLUTE_INTTYPES_H)/g' \
+             -e 's/@''PRI_MACROS_BROKEN''@/$(PRI_MACROS_BROKEN)/g' \
+             -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
+             -e 's/@''PRIPTR_PREFIX''@/$(PRIPTR_PREFIX)/g' \
+             -e 's/@''HAVE_DECL_IMAXABS''@/$(HAVE_DECL_IMAXABS)/g' \
+             -e 's/@''HAVE_DECL_IMAXDIV''@/$(HAVE_DECL_IMAXDIV)/g' \
+             -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
+             -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
+             < $(srcdir)/inttypes_.h; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
 
index f65dbcc4f54b4dca16ef1ffd8ab1d9c6550e9207..2aac90e1cbf214938c52b6de5f2c223df610e091 100644 (file)
@@ -18,7 +18,9 @@ BUILT_SOURCES += $(NETINET_IN_H)
 netinet/in.h:
        test -d netinet || mkdir netinet
        rm -f $@-t $@
-       echo '#include <sys/socket.h>' >$@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '#include <sys/socket.h>'; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
 MOSTLYCLEANDIRS += netinet
index 9784c43414fa89a2443b3d1e5d6bd3af0d56845b..9fad24d1a0cf22dfd30b0295538677ed07ae49f4 100644 (file)
@@ -18,7 +18,9 @@ EXTRA_DIST += poll_.h
 # We need the following in order to create <poll.h> when the system
 # doesn't have one.
 poll.h: poll_.h
-       cp -f $(srcdir)/poll_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/poll_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += poll.h poll.h-t
 
index 51fc36fc62609fcb33865fb67aed07333c5fb0d6..00e63c82fda49d41025333db5bcb7eee8c9293a7 100644 (file)
@@ -19,7 +19,9 @@ EXTRA_DIST += stdbool_.h
 # doesn't have one that works.
 stdbool.h: stdbool_.h
        rm -f $@-t $@
-       sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 
index d7dd07331f6b1231b812f6c40e1237002373de5d..df793eea823e4e7677ee2890eef3149a7797bd62 100644 (file)
@@ -25,28 +25,30 @@ EXTRA_DIST += stdint_.h
 # doesn't have one that works with the given compiler.
 stdint.h: stdint_.h
        rm -f $@-t $@
-       sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
-           -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
-           -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
-           -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
-           -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
-           -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
-           -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
-           -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
-           -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
-           -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
-           -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
-           -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
-           -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
-           -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
-           -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
-           -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
-           -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
-           -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
-           -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
-           -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
-           -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
-           < $(srcdir)/stdint_.h > $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         sed -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
+             -e 's/@''HAVE_STDINT_H''@/$(HAVE_STDINT_H)/g' \
+             -e 's|@''ABSOLUTE_STDINT_H''@|$(ABSOLUTE_STDINT_H)|g' \
+             -e 's/@''HAVE_SYS_TYPES_H''@/$(HAVE_SYS_TYPES_H)/g' \
+             -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
+             -e 's/@''HAVE_SYS_INTTYPES_H''@/$(HAVE_SYS_INTTYPES_H)/g' \
+             -e 's/@''HAVE_SYS_BITYPES_H''@/$(HAVE_SYS_BITYPES_H)/g' \
+             -e 's/@''HAVE_LONG_LONG_INT''@/$(HAVE_LONG_LONG_INT)/g' \
+             -e 's/@''BITSIZEOF_PTRDIFF_T''@/$(BITSIZEOF_PTRDIFF_T)/g' \
+             -e 's/@''PTRDIFF_T_SUFFIX''@/$(PTRDIFF_T_SUFFIX)/g' \
+             -e 's/@''BITSIZEOF_SIG_ATOMIC_T''@/$(BITSIZEOF_SIG_ATOMIC_T)/g' \
+             -e 's/@''HAVE_SIGNED_SIG_ATOMIC_T''@/$(HAVE_SIGNED_SIG_ATOMIC_T)/g' \
+             -e 's/@''SIG_ATOMIC_T_SUFFIX''@/$(SIG_ATOMIC_T_SUFFIX)/g' \
+             -e 's/@''BITSIZEOF_SIZE_T''@/$(BITSIZEOF_SIZE_T)/g' \
+             -e 's/@''SIZE_T_SUFFIX''@/$(SIZE_T_SUFFIX)/g' \
+             -e 's/@''BITSIZEOF_WCHAR_T''@/$(BITSIZEOF_WCHAR_T)/g' \
+             -e 's/@''HAVE_SIGNED_WCHAR_T''@/$(HAVE_SIGNED_WCHAR_T)/g' \
+             -e 's/@''WCHAR_T_SUFFIX''@/$(WCHAR_T_SUFFIX)/g' \
+             -e 's/@''BITSIZEOF_WINT_T''@/$(BITSIZEOF_WINT_T)/g' \
+             -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
+             -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
+             < $(srcdir)/stdint_.h; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += stdint.h stdint.h-t
 
index 80dc8faca89bd79c790de70be0dbec7bfdf95e8d..76ae6f9a5eec8837c5eaaaa8d50ea35bb50901f7 100644 (file)
@@ -18,7 +18,9 @@ BUILT_SOURCES += $(SYS_SELECT_H)
 sys/select.h:
        test -d sys || mkdir sys
        rm -f $@-t $@
-       echo '#include <sys/socket.h>' >$@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '#include <sys/socket.h>'; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
 MOSTLYCLEANDIRS += sys
index a27b87ca6ef1f651e147bf228fe8ce83ebefe062..7700769dbd148b365a21e12bf74efb09fadd2a52 100644 (file)
@@ -19,7 +19,9 @@ EXTRA_DIST += socket_.h
 # doesn't have one that works with the given compiler.
 sys/socket.h: socket_.h
        test -d sys || mkdir sys
-       cp -f $(srcdir)/socket_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/socket_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
 MOSTLYCLEANDIRS += sys
index 4fc957ffc88d8e647f994a4f2940e4518db09c66..4a50c13401b4969b07d2db3e688f46a62252e4fc 100644 (file)
@@ -20,8 +20,10 @@ EXTRA_DIST += stat_.h
 sys/stat.h: stat_.h
        test -d sys || mkdir sys
        rm -f $@-t $@
-       sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
-           < $(srcdir)/stat_.h > $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
+             < $(srcdir)/stat_.h; \
+       } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
 MOSTLYCLEANDIRS += sys
index 2872e36459f3896903bb7f0682b341246493fc49..4ddacab94d8b5bf36f12ac7290093b1adbd3ba74 100644 (file)
@@ -17,7 +17,9 @@ EXTRA_DIST += sysexit_.h
 # We need the following in order to create <sysexits.h> when the system
 # doesn't have one that works with the given compiler.
 sysexits.h: sysexit_.h
-       cp -f $(srcdir)/sysexit_.h $@-t
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         cat $(srcdir)/sysexit_.h; \
+       } > $@-t
        mv -f $@-t $@
 MOSTLYCLEANFILES += sysexits.h sysexits.h-t
 
index f54499f119e9dc486d8683e1dfc5176ae8caaf09..177b95ce19b5d65b3cea6b6c37b79dea4c5e0527 100644 (file)
@@ -15,7 +15,9 @@ BUILT_SOURCES += $(UNISTD_H)
 # We need the following in order to create an empty placeholder for
 # <unistd.h> when the system doesn't have one.
 unistd.h:
-       echo '/* Empty placeholder for $@.  */' >$@
+       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+         echo '/* Empty placeholder for $@.  */'; \
+       } > $@
 MOSTLYCLEANFILES += unistd.h
 
 Include: