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

Re: Best practice for cleaning autotools-generated files?



On Tue, 15 Mar 2011, Josue Abarca wrote:
> 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 look at the dates of those two examples.  They're *old*, they're not
(thankfully :p) even what I am using anymore.  And they're not compliant to
latest policy, either.

> 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."

Also old.  And autopoint is not autoconf, that script is for autoconf,
automake and libtool.  When it was written, there was still "gettext"...

But it is actually a very large petard, it might just do it.  You will
notice you have to really know what you're doing for that script to work
well.

Patches accepted.  Or I will just remove them in the next upload, whichever
makes more sense.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: