2007-03-27 Bruno Haible <bruno@clisp.org>
[gnulib.git] / modules / stdbool
index 51fc36f..b8da551 100644 (file)
@@ -13,13 +13,14 @@ AM_STDBOOL_H
 
 Makefile.am:
 BUILT_SOURCES += $(STDBOOL_H)
-EXTRA_DIST += stdbool_.h
 
 # We need the following in order to create <stdbool.h> when the system
 # 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