Mark generated files as "DO NOT EDIT".
[pspp] / modules / fcntl
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