projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdate
[gnulib.git]
/
modules
/
byteswap
diff --git
a/modules/byteswap
b/modules/byteswap
index
8202a3b
..
52659d2
100644
(file)
--- a/
modules/byteswap
+++ b/
modules/byteswap
@@
-12,14
+12,14
@@
gl_BYTESWAP
Makefile.am:
BUILT_SOURCES += $(BYTESWAP_H)
Makefile.am:
BUILT_SOURCES += $(BYTESWAP_H)
-EXTRA_DIST += byteswap_.h
-# We need the following in order to create
a
<byteswap.h> when the system
+# We need the following in order to create <byteswap.h> when the system
# doesn't have one.
# doesn't have one.
-all-local $(lib_OBJECTS): $(BYTESWAP_H)
byteswap.h: byteswap_.h
byteswap.h: byteswap_.h
- cp $(srcdir)/$< $@-t
- mv $@-t $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ cat $(srcdir)/byteswap_.h; \
+ } > $@-t
+ mv -f $@-t $@
MOSTLYCLEANFILES += byteswap.h byteswap.h-t
Include:
MOSTLYCLEANFILES += byteswap.h byteswap.h-t
Include: