chiark / gitweb /
Makefile.am: Tweak `silent-rules' machinery.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 00:41:20 +0000 (01:41 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 02:44:20 +0000 (03:44 +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 xtoys now requires Automake 1.11.2 or later to build
from the Git tree.

Makefile.am

index 676c52b841a4d5c577f1482d082b679b063a5f84..825e8fd953d161cfe42b30fd761c1c4a8cf19946 100644 (file)
@@ -32,9 +32,9 @@ CLEANFILES             =
 confsubst               = $(srcdir)/config/confsubst
 EXTRA_DIST             += 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           = \
@@ -113,7 +113,6 @@ dist-hook::
 
 EXTRA_DIST             += config/auto-version
 
-
 ###--------------------------------------------------------------------------
 ### Debian.