chiark / gitweb /
Makefile.am: Improve `silent-rules' output.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 5 Jun 2011 21:10:11 +0000 (22:10 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 5 Jun 2011 21:10:11 +0000 (22:10 +0100)
Introduce a separate `SUBST' line type for `confsubst'.

Makefile.am

index 064924628f114819eb0040269977ad7f9d126a31..aaae6f4cf6247436c025a9a75329c491f86f0178 100644 (file)
@@ -128,7 +128,10 @@ dist_sbin_SCRIPTS   =
 
 ## Making substitutions.
 confsubst = $(top_srcdir)/config/confsubst
-SUBST = $(AM_V_GEN)$(confsubst)
+V_SUBST = $(V_SUBST_$(V))
+V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
+V_SUBST_0 = @echo "  SUBST  $@";
+SUBST = $(V_SUBST)$(confsubst)
 SUBSTITUTIONS = \
        PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
        PYTHON=$(PYTHON) \