From: Tom Tromey Date: Tue, 24 Feb 1998 19:52:25 +0000 (+0000) Subject: bug fix for man pages X-Git-Tag: Release-1-2g~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f946c4db19730e5cca38c9c3a2c20a3bcdffd640;p=thirdparty%2Fautomake.git bug fix for man pages --- diff --git a/ChangeLog b/ChangeLog index 478f404cf..63180408c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Tue Feb 24 12:10:44 1998 Tom Tromey + * mans.am (install-man@SECTION@, uninstall-man@SECTION@): Quote + `$' in sed expression. + * config.guess, config.sub, texinfo.tex: New versions from FSF. * Makefile.am (pkgdata_DATA): Added mans.am. diff --git a/lib/am/mans.am b/lib/am/mans.am index 7970ef06e..091888f8b 100644 --- a/lib/am/mans.am +++ b/lib/am/mans.am @@ -33,7 +33,7 @@ install-man@SECTION@: ## Extract basename of man page and run it through the program rename ## transform. ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(man@SECTION@dir)/$$inst"; \ $(INSTALL_DATA) $$file $(man@SECTION@dir)/$$inst; \ @@ -54,7 +54,7 @@ uninstall-man@SECTION@: ## Extract basename of man page and run it through the program rename ## transform. ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(man@SECTION@dir)/$$inst"; \ rm -f $(man@SECTION@dir)/$$inst; \ diff --git a/mans.am b/mans.am index 7970ef06e..091888f8b 100644 --- a/mans.am +++ b/mans.am @@ -33,7 +33,7 @@ install-man@SECTION@: ## Extract basename of man page and run it through the program rename ## transform. ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) $$file $(man@SECTION@dir)/$$inst"; \ $(INSTALL_DATA) $$file $(man@SECTION@dir)/$$inst; \ @@ -54,7 +54,7 @@ uninstall-man@SECTION@: ## Extract basename of man page and run it through the program rename ## transform. ext=`echo $$i | sed -e 's/^.*\\.//'`; \ - inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$//'`; \ + inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f $(man@SECTION@dir)/$$inst"; \ rm -f $(man@SECTION@dir)/$$inst; \