diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | man/Makefile.am | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ 2007-02-24 Jim Meyering <jim@meyering.net> + Avoid a shell syntax error, when building with an inadequate Perl. + * man/Makefile.am (.x.1): Add quotes around $(PERL) in case, since + it can expand to "/.../missing perl". + * man/Makefile.am (.x.1): Warn when unable to update a man page. Suggestion from Bruno Haible. diff --git a/man/Makefile.am b/man/Makefile.am index 17b3415ba..32df9d176 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -153,7 +153,7 @@ 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 \ + @case '$(PERL)' in \ *"/missing "*) \ echo 'WARNING: cannot update man page $@ since perl is missing' \ 'or inadequate' 1>&2 \ |