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

Re: Best practice for cleaning autotools-generated files?



On Thu, 17 Mar 2011, Sean Finney wrote:
> > > If you do it with the patch system (quilt or even plain dpkg),
> > > before building the package source, you cannot ensure that files are
> > > patched in the right order.
> > 
> > What do you mean "in the right order" ?
> 
> autofoo stuff examines timestamps on various files, so it's possible
> that if configure gets patched before configure.ac, and
> AM_MAINTAINER_MODE is set to a specific value, that ./configure ends up
> wanting to regenerate ./configure at build time.  double fail.

dpkg-source resets the timestamp of patched files so that they all have
the same timestamp. This is precisely to avoid this.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
                      ▶ http://RaphaelHertzog.fr (Français)


Reply to: