annotate automake snippets with $(AM_V_GEN) and $(AM_V_at)
[pspp] / modules / spawn
index f2d15aba337eb89d5cb796daddf7d9b531802ad7..55c17f6e109f459b580692d720c7607fac7c4c6c 100644 (file)
@@ -19,7 +19,7 @@ BUILT_SOURCES += $(SPAWN_H)
 # We need the following in order to create a replacement for <spawn.h> when
 # the system doesn't have one.
 spawn.h: spawn.in.h
-       rm -f $@-t $@
+       $(AM_V_GEN)rm -f $@-t $@ && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
              -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
@@ -50,7 +50,7 @@ spawn.h: spawn.in.h
              -e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \
              -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
              < $(srcdir)/spawn.in.h; \
-       } > $@-t
+       } > $@-t && \
        mv $@-t $@
 MOSTLYCLEANFILES += spawn.h spawn.h-t