Makefile.am: Tweak `silent-rules' machinery.
[misc] / Makefile.am
index e46fe11..c908472 100644 (file)
@@ -151,9 +151,9 @@ dist_sbin_SCRIPTS    =
 
 ## Making substitutions.
 confsubst = $(top_srcdir)/config/confsubst
-V_SUBST = $(V_SUBST_$(V))
-V_SUBST_ = $(V_SUBST_$(AM_DEFAULT_VERBOSITY))
-V_SUBST_0 = @echo "  SUBST  $@";
+V_SUBST = $(V_SUBST_@AM_V@)
+V_SUBST_ = $(V_SUBST_@AM_DEFAULT_V@)
+V_SUBST_0 = @echo "  SUBST    $@";
 SUBST = $(V_SUBST)$(confsubst)
 SUBSTITUTIONS = \
        PACKAGE=$(PACKAGE) VERSION=$(VERSION) \