On Mon, Nov 27, 2006 at 05:07:37PM +0000 or so it is rumoured hereabouts,
Pádraig Brady thought:
> Conor Daly wrote:
> > I have a Makefile that installs manpages (among other things).
> >
> > for the uninstall. Is there a form of
> >
> > for FILE in ../man3/*; do rm -f $(MANDIR)/man3/$FILE; done
> >
> > that I can use in a makefile to accomplish this?
>> Are you sure you don't want to use the package management
> on your system to track (and remove) the installed files?
While I'd love to do something like that, I'm having difficulty in getting
people to stay long enough to become coders, never mind getting them to
learn the intricacies of .spec files. I want to put together some
reasonably generic makefiles that can be used with various of our
FORTRAN 77, FORTRAN IV, C and who knows what else sources. Even the
notion of having a manpage as well as the source is a bit advanced for us!
> If not you probably want something like:
>> for file in ../man3/*; do \
> rm -f $(MANDIR)/`basename $file`; \
> done
>> Pádraig.
Oooh! That'll just work will it?
Ta,
Conor
--
Conor Daly <conor.daly at cod.homelinux.org>
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/G/S/O d+(-) s:+ a+ C++(+) UL++++ US++ P>++ L+++>++++ E--- W++ !N
PS+ PE Y+ PGP? tv(-) b+++(+) G e+++(*) h-- r+++ z++++
------END GEEK CODE BLOCK------
http://www.geekcode.com/http://www.ebb.org/ungeek/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!