Since Automake 1.11, the advice for setting up custom silent-rules
recipes has changed, so use the new machinery.
Also, I'm no longer mainly working on wheezy, and Automake has made the
operation field two spaces wider while I wasn't looking, so make the
output line up properly.
This means that Catacomb now requires Automake 1.11.2 or later to build
from the Git tree.
## The `mpgen' tool for dealing with these things.
mpgen = $(srcdir)/mpgen
EXTRA_DIST += mpgen
-AM_V_MPGEN = $(AM_V_MPGEN_$(V))
-AM_V_MPGEN_ = $(AM_V_MPGEN_$(AM_DEFAULT_VERBOSITY))
-AM_V_MPGEN_0 = @echo " MPGEN $@";
+AM_V_MPGEN = $(AM_V_MPGEN_@AM_V@)
+AM_V_MPGEN_ = $(AM_V_MPGEN_@AM_DEFAULT_V@)
+AM_V_MPGEN_0 = @echo " MPGEN $@";
MPGEN = $(AM_V_MPGEN)$(PYTHON) $(mpgen)
## The type information collected by `configure'.
PACKAGE=$(PACKAGE) VERSION=$(VERSION) \
CATACOMB_LIBS="$(CATACOMB_LIBS)"
-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)
###--------------------------------------------------------------------------