bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

marking generated files as such


From: Bruno Haible
Subject: marking generated files as such
Date: Sat, 7 Oct 2006 16:53:03 +0200
User-agent: KMail/1.9.1

Hi,

In the thread "ensure that generated files are read-only" there was not
unanimous agreement that generated files should be forced read-only on
the user. But I proposed, as a compromise to Jim, in
http://lists.gnu.org/archive/html/bug-gnulib/2006-09/msg00134.html,
to mark generated files as
    DO NOT EDIT! GENERATED AUTOMATICALLY!

There was no opposition against that, so I'm now applying this patch.


2006-10-07  Bruno Haible  <address@hidden>

        * 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.

diff -r -c3 gnulib-20061006/modules/alloca-opt 
gnulib-20061006-modified/modules/alloca-opt
*** gnulib-20061006/modules/alloca-opt  2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/alloca-opt 2006-10-07 01:30:04.000000000 
+0200
***************
*** 19,25 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += alloca.h alloca.h-t
  
--- 19,27 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/alloca_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += alloca.h alloca.h-t
  
diff -r -c3 gnulib-20061006/modules/argz gnulib-20061006-modified/modules/argz
*** gnulib-20061006/modules/argz        2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/argz       2006-10-07 01:30:48.000000000 
+0200
***************
*** 18,24 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += argz.h argz.h-t
  
--- 18,26 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/argz_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += argz.h argz.h-t
  
diff -r -c3 gnulib-20061006/modules/arpa_inet 
gnulib-20061006-modified/modules/arpa_inet
*** gnulib-20061006/modules/arpa_inet   2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/arpa_inet  2006-10-07 01:40:58.000000000 
+0200
***************
*** 18,24 ****
  arpa/inet.h:
        test -d arpa || mkdir arpa
        rm -f address@hidden $@
!       echo '#include <sys/socket.h>' >address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  MOSTLYCLEANDIRS += arpa
--- 18,26 ----
  arpa/inet.h:
        test -d arpa || mkdir arpa
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         echo '#include <sys/socket.h>'; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
  MOSTLYCLEANDIRS += arpa
diff -r -c3 gnulib-20061006/modules/byteswap 
gnulib-20061006-modified/modules/byteswap
*** gnulib-20061006/modules/byteswap    2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/byteswap   2006-10-07 01:31:18.000000000 
+0200
***************
*** 17,23 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += byteswap.h byteswap.h-t
  
--- 17,25 ----
  # We need the following in order to create <byteswap.h> when the system
  # doesn't have one.
  byteswap.h: byteswap_.h
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/byteswap_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += byteswap.h byteswap.h-t
  
diff -r -c3 gnulib-20061006/modules/configmake 
gnulib-20061006-modified/modules/configmake
*** gnulib-20061006/modules/configmake  2006-09-19 00:51:16.000000000 +0200
--- gnulib-20061006-modified/modules/configmake 2006-10-07 01:39:51.000000000 
+0200
***************
*** 27,33 ****
  # listed in the Automake documentation.
  configmake.h: Makefile
        rm -f address@hidden $@
!       ( \
          echo '#define PREFIX "$(prefix)"'; \
          echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
          echo '#define BINDIR "$(bindir)"'; \
--- 27,33 ----
  # listed in the Automake documentation.
  configmake.h: Makefile
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          echo '#define PREFIX "$(prefix)"'; \
          echo '#define EXEC_PREFIX "$(exec_prefix)"'; \
          echo '#define BINDIR "$(bindir)"'; \
***************
*** 54,60 ****
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
          echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
          echo '#define PKGDATADIR "$(pkgdatadir)"'; \
!       :) | sed '/""/d' >address@hidden
        mv address@hidden $@
  BUILT_SOURCES += configmake.h
  CLEANFILES += configmake.h configmake.h-t
--- 54,60 ----
          echo '#define PKGLIBDIR "$(pkglibdir)"'; \
          echo '#define PKGINCLUDEDIR "$(pkgincludedir)"'; \
          echo '#define PKGDATADIR "$(pkgdatadir)"'; \
!       } | sed '/""/d' > address@hidden
        mv address@hidden $@
  BUILT_SOURCES += configmake.h
  CLEANFILES += configmake.h configmake.h-t
diff -r -c3 gnulib-20061006/modules/fcntl gnulib-20061006-modified/modules/fcntl
*** gnulib-20061006/modules/fcntl       2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/fcntl      2006-10-07 01:31:56.000000000 
+0200
***************
*** 20,27 ****
  # doesn't have one that works with the given compiler.
  fcntl.h: fcntl_.h
        rm -f address@hidden $@
!       sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
!           < $(srcdir)/fcntl_.h > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  
--- 20,29 ----
  # doesn't have one that works with the given compiler.
  fcntl.h: fcntl_.h
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
!             < $(srcdir)/fcntl_.h; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += fcntl.h fcntl.h-t
  
diff -r -c3 gnulib-20061006/modules/fnmatch 
gnulib-20061006-modified/modules/fnmatch
*** gnulib-20061006/modules/fnmatch     2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/fnmatch    2006-10-07 01:32:27.000000000 
+0200
***************
*** 22,28 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
  
--- 22,30 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/fnmatch_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
  
diff -r -c3 gnulib-20061006/modules/getopt 
gnulib-20061006-modified/modules/getopt
*** gnulib-20061006/modules/getopt      2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/getopt     2006-10-07 01:33:11.000000000 
+0200
***************
*** 22,28 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += getopt.h getopt.h-t
  
--- 22,30 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/getopt_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += getopt.h getopt.h-t
  
diff -r -c3 gnulib-20061006/modules/glob gnulib-20061006-modified/modules/glob
*** gnulib-20061006/modules/glob        2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/glob       2006-10-07 01:33:52.000000000 
+0200
***************
*** 30,36 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += glob.h glob.h-t
  
--- 30,38 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/glob_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += glob.h glob.h-t
  
diff -r -c3 gnulib-20061006/modules/inttypes 
gnulib-20061006-modified/modules/inttypes
*** gnulib-20061006/modules/inttypes    2006-09-19 00:51:16.000000000 +0200
--- gnulib-20061006-modified/modules/inttypes   2006-10-07 01:34:32.000000000 
+0200
***************
*** 21,36 ****
  # doesn't have one that works with the given compiler.
  inttypes.h: inttypes_.h
        rm -f address@hidden $@
!       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 > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += inttypes.h inttypes.h-t
  
--- 21,38 ----
  # doesn't have one that works with the given compiler.
  inttypes.h: inttypes_.h
        rm -f address@hidden $@
!       { 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; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += inttypes.h inttypes.h-t
  
diff -r -c3 gnulib-20061006/modules/netinet_in 
gnulib-20061006-modified/modules/netinet_in
*** gnulib-20061006/modules/netinet_in  2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/netinet_in 2006-10-07 01:40:20.000000000 
+0200
***************
*** 18,24 ****
  netinet/in.h:
        test -d netinet || mkdir netinet
        rm -f address@hidden $@
!       echo '#include <sys/socket.h>' >address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  MOSTLYCLEANDIRS += netinet
--- 18,26 ----
  netinet/in.h:
        test -d netinet || mkdir netinet
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         echo '#include <sys/socket.h>'; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
  MOSTLYCLEANDIRS += netinet
diff -r -c3 gnulib-20061006/modules/poll gnulib-20061006-modified/modules/poll
*** gnulib-20061006/modules/poll        2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/poll       2006-10-07 01:35:13.000000000 
+0200
***************
*** 18,24 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += poll.h poll.h-t
  
--- 18,26 ----
  # We need the following in order to create <poll.h> when the system
  # doesn't have one.
  poll.h: poll_.h
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/poll_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += poll.h poll.h-t
  
diff -r -c3 gnulib-20061006/modules/stdbool 
gnulib-20061006-modified/modules/stdbool
*** gnulib-20061006/modules/stdbool     2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/stdbool    2006-10-07 01:36:10.000000000 
+0200
***************
*** 19,25 ****
  # doesn't have one that works.
  stdbool.h: stdbool_.h
        rm -f address@hidden $@
!       sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > 
address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  
--- 19,27 ----
  # doesn't have one that works.
  stdbool.h: stdbool_.h
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += stdbool.h stdbool.h-t
  
diff -r -c3 gnulib-20061006/modules/stdint 
gnulib-20061006-modified/modules/stdint
*** gnulib-20061006/modules/stdint      2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/stdint     2006-10-07 01:36:47.000000000 
+0200
***************
*** 25,52 ****
  # doesn't have one that works with the given compiler.
  stdint.h: stdint_.h
        rm -f address@hidden $@
!       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 > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += stdint.h stdint.h-t
  
--- 25,54 ----
  # doesn't have one that works with the given compiler.
  stdint.h: stdint_.h
        rm -f address@hidden $@
!       { 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; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += stdint.h stdint.h-t
  
diff -r -c3 gnulib-20061006/modules/sys_select 
gnulib-20061006-modified/modules/sys_select
*** gnulib-20061006/modules/sys_select  2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/sys_select 2006-10-07 01:40:41.000000000 
+0200
***************
*** 18,24 ****
  sys/select.h:
        test -d sys || mkdir sys
        rm -f address@hidden $@
!       echo '#include <sys/socket.h>' >address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += sys/select.h sys/select.h-t
  MOSTLYCLEANDIRS += sys
--- 18,26 ----
  sys/select.h:
        test -d sys || mkdir sys
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         echo '#include <sys/socket.h>'; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += sys/select.h sys/select.h-t
  MOSTLYCLEANDIRS += sys
diff -r -c3 gnulib-20061006/modules/sys_socket 
gnulib-20061006-modified/modules/sys_socket
*** gnulib-20061006/modules/sys_socket  2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/sys_socket 2006-10-07 01:37:13.000000000 
+0200
***************
*** 19,25 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  MOSTLYCLEANDIRS += sys
--- 19,27 ----
  # doesn't have one that works with the given compiler.
  sys/socket.h: socket_.h
        test -d sys || mkdir sys
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/socket_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
  MOSTLYCLEANDIRS += sys
diff -r -c3 gnulib-20061006/modules/sys_stat 
gnulib-20061006-modified/modules/sys_stat
*** gnulib-20061006/modules/sys_stat    2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/sys_stat   2006-10-07 01:37:46.000000000 
+0200
***************
*** 20,27 ****
  sys/stat.h: stat_.h
        test -d sys || mkdir sys
        rm -f address@hidden $@
!       sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
!           < $(srcdir)/stat_.h > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  MOSTLYCLEANDIRS += sys
--- 20,29 ----
  sys/stat.h: stat_.h
        test -d sys || mkdir sys
        rm -f address@hidden $@
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
!             < $(srcdir)/stat_.h; \
!       } > address@hidden
        mv address@hidden $@
  MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
  MOSTLYCLEANDIRS += sys
diff -r -c3 gnulib-20061006/modules/sysexits 
gnulib-20061006-modified/modules/sysexits
*** gnulib-20061006/modules/sysexits    2006-09-09 01:44:22.000000000 +0200
--- gnulib-20061006-modified/modules/sysexits   2006-10-07 01:38:03.000000000 
+0200
***************
*** 17,23 ****
  # 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 address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += sysexits.h sysexits.h-t
  
--- 17,25 ----
  # 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
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         cat $(srcdir)/sysexit_.h; \
!       } > address@hidden
        mv -f address@hidden $@
  MOSTLYCLEANFILES += sysexits.h sysexits.h-t
  
diff -r -c3 gnulib-20061006/modules/unistd 
gnulib-20061006-modified/modules/unistd
*** gnulib-20061006/modules/unistd      2006-03-08 02:37:15.000000000 +0100
--- gnulib-20061006-modified/modules/unistd     2006-10-07 01:41:37.000000000 
+0200
***************
*** 15,21 ****
  # 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 address@hidden  */' >$@
  MOSTLYCLEANFILES += unistd.h
  
  Include:
--- 15,23 ----
  # We need the following in order to create an empty placeholder for
  # <unistd.h> when the system doesn't have one.
  unistd.h:
!       { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
!         echo '/* Empty placeholder for address@hidden  */'; \
!       } > $@
  MOSTLYCLEANFILES += unistd.h
  
  Include:
*** gnulib-20061006/gnulib-tool 2006-10-07 01:01:47.000000000 +0200
--- gnulib-20061006-modified/gnulib-tool        2006-10-07 01:45:49.000000000 
+0200
***************
*** 1086,1091 ****
--- 1086,1092 ----
      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,1204 ****
--- 1200,1206 ----
      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,1851 ****
--- 1848,1854 ----
    # 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"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]