[PATCH] Making make clean really work

Harald Welte laforge@gnumonks.org
Tue, 31 Jul 2001 02:56:53 -0300


On Tue, Jul 31, 2001 at 08:35:55AM +0200, Peter Firefly Lund wrote:
> Harald Welte wrote:
> 
> > On Wed, Jul 25, 2001 at 12:13:55AM +0200, Peter Firefly Lund wrote:
> > > I discovered that make clean didn't /really/ work due to someone having
> > > a mental picture of find's operation that differed slightly from the one
> > > find itself had ;)
> >
> > hm.
> >
> > a) the PHONY patches are ok.
> >
> > b) the find syntax is correct, AFAICT. I think it should either be like
> >    it currently is, or " -name '*.[ao]' -o '*.so' (which has the same
> >    meaning as what we currently have
> 
> No.  As it stands now the -name operations ("filters") are connected by an
> implicit and.  That needs to be an or instead.  Take a look at the Linux
> makefiles, they use -o, too.

ok, convinced. Changed now

Thanks again.

> -Peter

-- 
Live long and prosper
- Harald Welte / laforge@gnumonks.org                http://www.gnumonks.org
============================================================================
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M- 
V-- PS+ PE-- Y+ PGP++ t++ 5-- !X !R tv-- b+++ DI? !D G+ e* h+ r% y+(*)