chiark / gitweb /
Makefile.am: Tweak `silent-rules' machinery.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 13 Sep 2017 11:23:57 +0000 (12:23 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 13 Sep 2017 11:23:57 +0000 (12:23 +0100)
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 distorted-utils now requires Automake 1.11.2 or later to
build from the Git tree.

Makefile.am

index e46fe11afb08d61440deed2e5d5b2b5bdcd4e263..c908472771a33336a850f84690ecd5f3b0a438f5 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) \