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
/
byteswap
diff --git
a/modules/byteswap
b/modules/byteswap
index 3f50ab600c11a226252540cccdcc7deca00d5801..d76542d7775d6d8c9da086617d8c0286e06337e2 100644
(file)
--- a/
modules/byteswap
+++ b/
modules/byteswap
@@
-17,7
+17,9
@@
EXTRA_DIST += byteswap_.h
# We need the following in order to create <byteswap.h> when the system
# doesn't have one.
byteswap.h: byteswap_.h
# We need the following in order to create <byteswap.h> when the system
# doesn't have one.
byteswap.h: byteswap_.h
- cp -f $(srcdir)/byteswap_.h $@-t
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/byteswap_.h; \
+ } > $@-t
mv -f $@-t $@
MOSTLYCLEANFILES += byteswap.h byteswap.h-t
mv -f $@-t $@
MOSTLYCLEANFILES += byteswap.h byteswap.h-t