summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-02-24 09:14:56 +0100
committerJim Meyering <jim@meyering.net>2007-02-24 09:14:56 +0100
commit90390c6a92e450ec634ada1c5179478dc86df7b9 (patch)
tree4b9ad83871fd1ed39c7daf48f2e4808ee0a2c74f /man/Makefile.am
parent63813d09502001302b3da8cb366ad3a4967bafc7 (diff)
downloadcoreutils-90390c6a92e450ec634ada1c5179478dc86df7b9.tar.xz
* man/Makefile.am (.x.1): Warn when unable to update a man page.
Suggestion from Bruno Haible.
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 017c3e2b7..17b3415ba 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -154,7 +154,10 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
# functions like echo, false, printf, pwd.
.x.1:
@case $(PERL) in \
- *"/missing "*) ;; \
+ *"/missing "*) \
+ echo 'WARNING: cannot update man page $@ since perl is missing' \
+ 'or inadequate' 1>&2 \
+ ;; \
*) \
rm -f $@ \
&& { echo "Updating man page $@"; \