summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@"; \