summaryrefslogtreecommitdiff
path: root/modules/sys_stat
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sys_stat')
-rw-r--r--modules/sys_stat6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/sys_stat b/modules/sys_stat
index 56a11c247c..60563c21f2 100644
--- a/modules/sys_stat
+++ b/modules/sys_stat
@@ -19,8 +19,8 @@ BUILT_SOURCES += $(SYS_STAT_H)
# We need the following in order to create <sys/stat.h> when the system
# has one that is incomplete.
sys/stat.h: sys_stat.in.h
- @MKDIR_P@ sys
- rm -f $@-t $@
+ $(AM_V_at)@MKDIR_P@ sys
+ $(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' \
@@ -33,7 +33,7 @@ sys/stat.h: sys_stat.in.h
-e 's|@''REPLACE_MKDIR''@|$(REPLACE_MKDIR)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
< $(srcdir)/sys_stat.in.h; \
- } > $@-t
+ } > $@-t && \
mv $@-t $@
MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
MOSTLYCLEANDIRS += sys