[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS automake manpages uninstall problem with extension change
From: |
Alexandre Duret-Lutz |
Subject: |
Re: CVS automake manpages uninstall problem with extension change |
Date: |
Wed, 04 Dec 2002 18:41:34 +0100 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/20.7 (i386-debian-linux-gnu) |
>>> "Nicolas" == Nicolas Joly <address@hidden> writes:
| Index: ChangeLog
| ===================================================================
| RCS file: /cvs/automake/automake/ChangeLog,v
| retrieving revision 1.2097
| diff -u -r1.2097 ChangeLog
| --- ChangeLog 2 Dec 2002 18:04:46 -0000 1.2097
| +++ ChangeLog 3 Dec 2002 15:47:35 -0000
| @@ -1,3 +1,8 @@
| +2002-12-03 Nicolas Joly <address@hidden>
| +
| + * lib/am/mans.am (uninstall-man%SECTION%): Change the extension of
| + the man pages being uninstalled, if needed.
| +
| 2002-12-02 Charles Wilson <address@hidden>
|
| * tests/gnits3.test (AM_INSTALLCHECK_STD_OPTIONS_EXEMPT):
| Index: lib/am/mans.am
| ===================================================================
| RCS file: /cvs/automake/automake/lib/am/mans.am,v
| retrieving revision 1.25
| diff -u -r1.25 mans.am
| --- lib/am/mans.am 8 Jul 2002 19:41:23 -0000 1.25
| +++ lib/am/mans.am 3 Dec 2002 15:47:35 -0000
| @@ -83,9 +83,14 @@
| esac; \
| done; \
| for i in $$list; do \
| +## Change the extension if needed.
| + ext=`echo $$i | sed -e 's/^.*\\.//'`; \
| + case "$$ext" in \
| + %SECTION%*) ;; \
| + *) ext='%SECTION%' ;; \
| + esac; \
| ## 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 $$inst | sed -e 's/^.*\///'`; \
| inst=`echo $$inst | sed '$(transform)'`.$$ext; \
Thanks! I've installed this.
--
Alexandre Duret-Lutz