Re: Best practice for cleaning autotools-generated files?
On Tue, Mar 15, 2011 at 10:29:57PM +0000, Marcin Owsiany wrote:
> Hello,
>
> The current best practice for dealing with packages using GNU autotools
> (as described in /usr/share/doc/autotools-dev/README.Debian.gz) is to
> run autoreconf in a prerequisite of a build target, and to remove its
> results in the clean target.
>
> However that README does not give any hints on how to best do the
> cleaning. How are others doing it?
>
...
What about?:
From: /usr/share/doc/autotools-dev/README.Debian.gz
"Example autogen.sh and debian/rules files can be found in
/usr/share/doc/autotools-dev/examples. Do not use them as-is. Rather,
properly customize your own."
and from /usr/share/doc/autotools-dev/examples/autogen.sh
" ...Still, this script is capable of cleaning
# just about any possible mess of autoconf files."
Cheers.
--
Josué M. Abarca S.
Reply to: