[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: |
Ralf Wildenhues |
Subject: |
Re: Help with removing .mod files with configure script [gmake distclean] |
Date: |
Fri, 16 Sep 2005 09:22:27 +0200 |
User-agent: |
Mutt/1.4.1i |
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