summaryrefslogtreecommitdiff
path: root/modules/stddef
diff options
context:
space:
mode:
Diffstat (limited to 'modules/stddef')
-rw-r--r--modules/stddef4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/stddef b/modules/stddef
index c68e00bfc6..ac28e953ca 100644
--- a/modules/stddef
+++ b/modules/stddef
@@ -18,7 +18,7 @@ BUILT_SOURCES += $(STDDEF_H)
# We need the following in order to create <stddef.h> when the system
# doesn't have one that works with the given compiler.
stddef.h: stddef.in.h
- rm -f $@-t $@
+ $(AM_V_GEN)rm -f $@-t $@ && \
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
@@ -26,7 +26,7 @@ stddef.h: stddef.in.h
-e 's|@''HAVE_WCHAR_T''@|$(HAVE_WCHAR_T)|g' \
-e 's|@''REPLACE_NULL''@|$(REPLACE_NULL)|g' \
< $(srcdir)/stddef.in.h; \
- } > $@-t
+ } > $@-t && \
mv $@-t $@
MOSTLYCLEANFILES += stddef.h stddef.h-t