On Sun, 2008-05-18 at 19:04 +0200, Julien Cristau wrote:
> On Mon, May 12, 2008 at 14:53:08 -0400, Joey Hess wrote:
> > Julien Cristau wrote:
> > > It would be nice to have a way to get dh_auto_configure to call
> > > 'autoreconf -vfi' or something similar if there's a configure.ac file
> > > but no configure script.
> > 
> > My impression, which might be wrong, but is based on messing with a fair
> > number of such packages, is that the specific auto* invocation needed
> > varies per-package, and can only be determined by trial and error, or a
> > detailed look at the source/docs. Which is why I decided to leave that
> > out. 
> 
> In all the packages I'm working with, plain autoreconf just works (and
> figures out which commands it needs to run).  But maybe I'm lucky and
> there are cases where that breaks, that's certainly possible.

I've had exactly the same experience: autoreconf -fi Just Works.  I
think it would prove very useful to just assume that autoreconf -fi will
work, and allow the caller to override that if necessary.  They can
always do this:

dh --before autofoo
# Magic autofoo invocations that autoreconf doesn't do automatically
dh --after autofoo

Better yet, they could send in a patch to autoreconf. :)

- Josh Triplett

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to