From 7b32fc864c6ad9bb4115d67165e4c31889c2ee01 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sat, 24 Dec 2016 23:39:55 -0800 Subject: [PATCH] Respect verbosity settings when generating manual pages --- docs/man/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/man/Makefile.am b/docs/man/Makefile.am index 90863842..705def0c 100644 --- a/docs/man/Makefile.am +++ b/docs/man/Makefile.am @@ -19,8 +19,12 @@ SUBST_VARS = sed \ -e 's|@localstatedir[@]|$(localstatedir)|g' \ -e 's|@sysconfdir[@]|$(sysconfdir)|g' +subst_verbose = $(subst_verbose_@AM_V@) +subst_verbose_ = $(subst_verbose_@AM_DEFAULT_V@) +subst_verbose_0 = @echo " SUBST $@"; + SUFFIXES = .in .in: - $(SUBST_VARS) $< > $@ + $(subst_verbose)$(SUBST_VARS) $< > $@ CLEANFILES = $(man_MANS)