annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
[pspp] / modules / locale
index 0afc5cb6b99e77c8099554ce93df4f08a6ade040..41f9e536e87104c6fbe0c05e9fd94994fa681ed1 100644 (file)
@@ -18,13 +18,13 @@ BUILT_SOURCES += $(LOCALE_H)
 # We need the following in order to create <locale.h> when the system
 # doesn't have one that provides all definitions.
 locale.h: locale.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' \
              -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
              < $(srcdir)/locale.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv $@-t $@
 MOSTLYCLEANFILES += locale.h locale.h-t