summaryrefslogtreecommitdiff
path: root/modules/byteswap
diff options
context:
space:
mode:
Diffstat (limited to 'modules/byteswap')
-rw-r--r--modules/byteswap4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/byteswap b/modules/byteswap
index c5057bb66a..6a3ce1525c 100644
--- a/modules/byteswap
+++ b/modules/byteswap
@@ -16,10 +16,10 @@ BUILT_SOURCES += $(BYTESWAP_H)
# We need the following in order to create <byteswap.h> when the system
# doesn't have one.
byteswap.h: byteswap.in.h
- rm -f $@-t $@
+ $(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
cat $(srcdir)/byteswap.in.h; \
- } > $@-t
+ } > $@-t && \
mv -f $@-t $@
MOSTLYCLEANFILES += byteswap.h byteswap.h-t