From fccf8861e9b361df8996532c7f5727d139c76d65 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 24 Feb 1998 19:52:24 +0000 Subject: [PATCH] bug fix for man pages --- ChangeLog | 3 +++ lib/am/mans.am | 4 ++-- mans.am | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 478f404c..63180408 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 7970ef06..091888f8 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 7970ef06..091888f8 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; \ -- 2.43.5