chiark / gitweb /
Makefile.am: Tweak `silent-rules' machinery. master
authorMark Wooding <mdw@distorted.org.uk>
Wed, 9 Aug 2017 10:09:53 +0000 (11:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 5 Sep 2019 12:35:13 +0000 (13:35 +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 Yaid now requires Automake 1.11.2 or later to build from
the Git tree.

Makefile.am

index fb4ea2706d030079a75cc4463bd819d6e8b62c12..763899e940359c2ed38a85c211d7b1a1d540768f 100644 (file)
@@ -42,9 +42,9 @@ SUBSTITUTIONS = \
                prefix=$(prefix) exec_prefix=$(exec_prefix) \
                sysconfdir=$(sysconfdir)
 
-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)
 
 ###--------------------------------------------------------------------------