aboutsummaryrefslogtreecommitdiff
path: root/src
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 /src
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 'src')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/guile/Makefile.am7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e423791..5a620dd 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -10,6 +10,6 @@ CLEANFILES = $(bin_SCRIPTS) $(noinst_SCRIPTS)
include $(top_srcdir)/substitute.am
.in:
- $(substitute) "$^" > "$@.tmp" && \
+ $(AM_V_SUBSTITUTE)$(substitute) "$^" > "$@.tmp" && \
chmod +x "$@.tmp" && \
mv "$@.tmp" "$@"
diff --git a/src/guile/Makefile.am b/src/guile/Makefile.am
index ea5df96..e4dd75c 100644
--- a/src/guile/Makefile.am
+++ b/src/guile/Makefile.am
@@ -1,4 +1,5 @@
-# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012 Ludovic Courtès <ludo@gnu.org>
+# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012,
+# 2015 Ludovic Courtès <ludo@gnu.org>
#
# This file is part of Skribilo.
#
@@ -108,8 +109,8 @@ BUILT_SOURCES = \
skribilo/utils/images.scm
.in.scm:
- $(MKDIR_P) "`dirname $@`"
- $(substitute) "$^" > "$@.tmp" && \
+ $(AM_V_SUBSTITUTE)$(MKDIR_P) "`dirname $@`" ; \
+ $(substitute) "$^" > "$@.tmp" && \
mv "$@.tmp" "$@"
#all-local: