annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
[pspp] / modules / inttypes
index 61c5d3f30514c69081a50082328e4d9fc08bc74f..9f0dc4e43ad0c2cd5093a1adeb67f13b9191979b 100644 (file)
@@ -21,7 +21,7 @@ BUILT_SOURCES += $(INTTYPES_H)
 # We need the following in order to create <inttypes.h> when the system
 # doesn't have one that works with the given compiler.
 inttypes.h: inttypes.in.h
-       rm -f $@-t $@
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's/@''HAVE_INTTYPES_H''@/$(HAVE_INTTYPES_H)/g' \
              -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -46,7 +46,7 @@ inttypes.h: inttypes.in.h
              -e 's/@''UINT64_MAX_EQ_ULONG_MAX''@/$(UINT64_MAX_EQ_ULONG_MAX)/g' \
              -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
              < $(srcdir)/inttypes.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv $@-t $@
 MOSTLYCLEANFILES += inttypes.h inttypes.h-t