[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help with removing .mod files with configure script [gmake distclean
From: |
Ayodele Onibokun \(Jimmy\) |
Subject: |
Re: Help with removing .mod files with configure script [gmake distclean] |
Date: |
Fri, 16 Sep 2005 10:38:32 -0700 (PDT) |
thanks Ralf. I already had disclean but just didn't
put the '-local' in front of it. but I tried it and it
works. Thanks alot.
-Jimmy
--- Ralf Wildenhues <address@hidden> wrote:
> Hi Ayodele,
>
> * Ayodele Onibokun (Jimmy) wrote on Thu, Sep 15,
> 2005 at 06:10:37PM CEST:
> > Hi --
> > Does anyone knows how I can tell configure to
> > remove .mod files as well each time I issue 'gmake
> > distclean'?
> > It does remove all the files but complains
> there're
> > some .mod files left behind in one of my
> directory.
>
> configure is usually not used to remove files.
> You should add either
>
> DISTCLEANFILES = a.mod b.mod ...
>
> or
>
> distclean-local:
> rm -f *.mod
>
> to Makefile.am.
>
> This (and much much more) is very nicely explained
> in the Automake
> manual.
>
> Cheers,
> Ralf
>
-Ayodele
a.k.a -Jimmy
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com