diff options
author | Bruno Haible <bruno@clisp.org> | 2006-10-07 14:54:51 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2006-10-07 14:54:51 +0000 |
commit | e8886c908325158b4e127ac82fbc4fb8918aad85 (patch) | |
tree | 98bc6c497b51b49e3af48e4927646baa68d54844 /modules/inttypes | |
parent | c5ce79f4c514b37b5756e85530112d778cff302a (diff) | |
download | gnulib-e8886c908325158b4e127ac82fbc4fb8918aad85.tar.gz |
Mark generated files as "DO NOT EDIT".
Diffstat (limited to 'modules/inttypes')
-rw-r--r-- | modules/inttypes | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/modules/inttypes b/modules/inttypes index a5b9358a9f..d61614b28e 100644 --- a/modules/inttypes +++ b/modules/inttypes @@ -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 |