summaryrefslogtreecommitdiff
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
parent63813d09502001302b3da8cb366ad3a4967bafc7 (diff)
downloadcoreutils-90390c6a92e450ec634ada1c5179478dc86df7b9.tar.xz
* man/Makefile.am (.x.1): Warn when unable to update a man page.
Suggestion from Bruno Haible.
-rw-r--r--ChangeLog5
-rw-r--r--man/Makefile.am5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c4e97835b..07249f089 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-02-24 Jim Meyering <jim@meyering.net>
+
+ * man/Makefile.am (.x.1): Warn when unable to update a man page.
+ Suggestion from Bruno Haible.
+
2007-02-23 Bruno Haible <bruno@clisp.org>
Handle better the combination of old Perl and a pre-c99 compiler.
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 $@"; \