From 689e8e64ed2287d4cb7a87c0fd25567e905cbe03 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 11 Mar 2015 17:25:01 +0100 Subject: 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. --- src/Makefile.am | 2 +- src/guile/Makefile.am | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src') 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 +# Copyright 2005, 2006, 2007, 2008, 2009, 2010, 2012, +# 2015 Ludovic Courtès # # 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: -- cgit v1.2.3