projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mark generated files as "DO NOT EDIT".
[pspp]
/
modules
/
fcntl
diff --git
a/modules/fcntl
b/modules/fcntl
index 357bdfa318324020e638dce29965057574659824..350ca5002ac80bb772e7ba89e9b6fa1c45e4a4bb 100644
(file)
--- a/
modules/fcntl
+++ b/
modules/fcntl
@@
-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 $@
# 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
mv $@-t $@
MOSTLYCLEANFILES += fcntl.h fcntl.h-t