From a5c627f9c6d7919da34a9f535e86a69e00754850 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 24 Apr 2009 22:23:50 +0200 Subject: build (man/): use automake's new $(AM_V_GEN) variable * man/Makefile.am (.x.1, check-x-vs-1, check-programs-vs-x): Mark with $(AM_V_GEN), so that automake-1.11 prints "GEN $@" by default (stick with "GEN" in spite of the latter two rules not officially generating anything -- they're just tests). --- man/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man/Makefile.am b/man/Makefile.am index ec5284b24..906e80479 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -148,14 +148,14 @@ mapped_name = `echo $*|sed 's/^install$$/ginstall/; s/^test$$/[/'` # That is necessary to avoid failures for programs that are also shell built-in # functions like echo, false, printf, pwd. .x.1: - @case '$(PERL)' in \ + $(AM_V_GEN)case '$(PERL)' in \ *"/missing "*) \ echo 'WARNING: cannot update man page $@ since perl is missing' \ - 'or inadequate' 1>&2 \ + 'or inadequate' 1>&2 \ ;; \ *) \ rm -f $@ \ - && { echo "Updating man page $@"; \ + && { \ rm -rf $t; \ mkdir $t; \ (cd $t && $(LN_S) ../../src/$(mapped_name) $*); \ @@ -181,7 +181,7 @@ ASSORT = LC_ALL=C sort # add them here manually. .PHONY: check-x-vs-1 check-x-vs-1: - PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \ + $(AM_V_GEN)PATH=../src$(PATH_SEPARATOR)$$PATH; export PATH; \ t=ls-files.$$$$; \ (cd $(srcdir) && ls -1 *.x) | sed 's/\.x$$//' | $(ASSORT) > $$t;\ (echo $(dist_man1_MANS) $(NO_INSTALL_PROGS_DEFAULT) \ @@ -195,7 +195,7 @@ all_programs = \ .PHONY: check-programs-vs-x check-programs-vs-x: - status=0; \ + $(AM_V_GEN)status=0; \ for p in dummy `$(all_programs)`; do \ test $$p = dummy && continue; \ test $$p = ginstall && p=install || : ; \ -- cgit v1.2.3-54-g00ecf