summaryrefslogtreecommitdiff
path: root/substitute.am
diff options
context:
space:
mode:
authorLudovic Courtès2015-03-11 17:25:01 +0100
committerLudovic Courtès2015-03-11 17:25:55 +0100
commit689e8e64ed2287d4cb7a87c0fd25567e905cbe03 (patch)
treeb5c08392f3a10c8ab23b995287637fa0e83c24fb /substitute.am
parent76cc8df4c6c5ae0e1c7b0ad1c7ed1b0f6b5479c6 (diff)
downloadskribilo-689e8e64ed2287d4cb7a87c0fd25567e905cbe03.tar.gz
skribilo-689e8e64ed2287d4cb7a87c0fd25567e905cbe03.tar.lz
skribilo-689e8e64ed2287d4cb7a87c0fd25567e905cbe03.zip
build: Add silent rules for substitutions.
* substitute.am (AM_V_SUBSTITUTE, AM_V_SUBSTITUTE_, AM_V_SUBSTITUTE_0): New variables. * doc/man/Makefile.am (.in): Use $(AM_V_SUBSTITUTE). * doc/user/Makefile.am (lout/front-page.lout): Likewise. * src/Makefile.am (.in): Likewise. * src/guile/Makefile.am (.in.scm): Likewise. * emacs/Makefile.am (.in): Likewise.
Diffstat (limited to 'substitute.am')
-rw-r--r--substitute.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/substitute.am b/substitute.am
index 9623b7e..80953bc 100644
--- a/substitute.am
+++ b/substitute.am
@@ -1,5 +1,9 @@
# Automake/Autoconf substitutions.
+AM_V_SUBSTITUTE = $(AM_V_SUBSTITUTE_$(V))
+AM_V_SUBSTITUTE_ = $(AM_V_SUBSTITUTE_$(AM_DEFAULT_VERBOSITY))
+AM_V_SUBSTITUTE_0 = @echo " SUBSTITUTE" $@;
+
substitute = sed -e 's,[@]guilemoduledir[@],$(guilemoduledir),g' \
-e 's,[@]abs_top_srcdir[@],$(abs_top_srcdir),g' \
-e 's,[@]abs_top_builddir[@],$(abs_top_builddir),g' \