summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-24 22:23:50 +0200
committerJim Meyering <meyering@redhat.com>2009-06-02 16:35:14 +0200
commita5c627f9c6d7919da34a9f535e86a69e00754850 (patch)
tree7312048c58a8f15db6f01cd32ad474fe01d676df /man
parentb96cd035ffe636f95cffc4beb7c043c62a687045 (diff)
downloadcoreutils-a5c627f9c6d7919da34a9f535e86a69e00754850.tar.xz
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).
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am10
1 files 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 || : ; \