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
/
sys_stat
diff --git
a/modules/sys_stat
b/modules/sys_stat
index 4fc957ffc88d8e647f994a4f2940e4518db09c66..4a50c13401b4969b07d2db3e688f46a62252e4fc 100644
(file)
--- a/
modules/sys_stat
+++ b/
modules/sys_stat
@@
-20,8
+20,10
@@
EXTRA_DIST += stat_.h
sys/stat.h: stat_.h
test -d sys || mkdir sys
rm -f $@-t $@
sys/stat.h: stat_.h
test -d sys || mkdir sys
rm -f $@-t $@
- sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
- < $(srcdir)/stat_.h > $@-t
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
+ < $(srcdir)/stat_.h; \
+ } > $@-t
mv $@-t $@
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
MOSTLYCLEANDIRS += sys
mv $@-t $@
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
MOSTLYCLEANDIRS += sys