[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatically remove .libs directory

From: Robert Boehne
Subject: Re: Automatically remove .libs directory
Date: Fri, 09 Mar 2001 10:50:13 -0600

I don't think that removing files during "make clean" is part of
libtool's job, that is what Makefiles are for.  Wouldn't it achieve
the same goal to add rules similar to what Automake uses?
I would prefer this over featureitis in Libtool...
I realize you wouldn't necessarily have the name of this directory
as libtool might generate different names on different platforms,
but perhaps libtool could be patched to return this info instead?



Peter Eisentraut wrote:
> Gary V. Vaughan writes:
> > I must admit I can't quite engineer a test to see what your patch achieves,
> The patch achieves that the .libs subdirectory that libtool creates in
> each build directroy for its private files is deleted after 'clean' (if
> it's empty), because otherwise it will stay there forever.  You might have
> trouble seeing this because Automake automatically generates commands to
> remove .libs, but I don't use Automake, and Libtool should be able to do
> this transparently.
> > however I am worried about the `continue 2' in your patch, so I have
> > reworked it to uniquify the list of objdirs as it is built.
> The Autoconf manual claims that 'break 2' is portable.  But your solution
> looks nice.
> > The test suite still passes with my version, so let me know if it solves
> > your problem and I'll commit it,
> Works here.  Thanks.
> --
> Peter Eisentraut      address@hidden
> _______________________________________________
> Libtool-patches mailing list
> address@hidden

Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]