[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS automake manpages uninstall problem with extension change
From: |
Nicolas Joly |
Subject: |
CVS automake manpages uninstall problem with extension change |
Date: |
Tue, 3 Dec 2002 16:54:06 +0100 |
User-agent: |
Mutt/1.2.5i |
Hi,
I just noticed that, in some cases, `make uninstall' fails to remove
previously installed man pages. This appears with manpages extension
renaming, for CVS automake and latest release 1.7.1.
Here follow a small example to illustrate this problem :
address@hidden [tmp/automake]> cat configure.ac
AC_INIT([dummy], [0.0])
AM_INIT_AUTOMAKE
AC_CONFIG_FILES([Makefile])
AC_OUTPUT
address@hidden [tmp/automake]> cat Makefile.am
man1_MANS = foo.man
address@hidden [tmp/automake]> aclocal
address@hidden [tmp/automake]> automake -a -c --foreign
configure.ac: installing `./install-sh'
configure.ac: installing `./mkinstalldirs'
configure.ac: installing `./missing'
address@hidden [tmp/automake]> autoconf
address@hidden [tmp/automake]> : > foo.man
address@hidden [tmp/automake]> ./configure --prefix=/tmp
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
address@hidden [tmp/automake]> gmake install
gmake[1]: Entering directory `/home/njoly/tmp/automake'
gmake[1]: Nothing to be done for `install-exec-am'.
/bin/ksh ./mkinstalldirs /tmp/man/man1
./install-sh -c -m 644 ./foo.man /tmp/man/man1/foo.1
gmake[1]: Leaving directory `/home/njoly/tmp/automake'
address@hidden [tmp/automake]> gmake uninstall
rm -f /tmp/man/man1/foo.man
The file `foo.1' is installed, but `foo.man' is removed.
I made a small patch to correct this ...
Thanks in advance,
Regards.
--
Nicolas Joly
Biological Software and Databanks.
Pasteur Institute, Paris.
automake.patch
Description: Text document
- CVS automake manpages uninstall problem with extension change,
Nicolas Joly <=