annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
[pspp] / modules / locale
index d15d5d3473719dbf6d3dc1edae166d4a21ac5c37..41f9e536e87104c6fbe0c05e9fd94994fa681ed1 100644 (file)
@@ -7,6 +7,7 @@ m4/locale_h.m4
 
 Depends-on:
 include_next
+stddef
 
 configure.ac:
 gl_LOCALE_H
@@ -17,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