On Sat, Jun 11, 2011 at 08:19:32PM -0400, Joey Hess wrote:
> Roger Leigh wrote:
> > +If running a configure script, it may be necessary to prevent it being
> > +run twice, once for architecture-independent packages, and again for
> > +architecture-dependent packages.  This may be accomplished by
> > +overriding L<dh_autoconfigure(1)>:
> > +
> > +   override_dh_auto_configure: config.status
> > +
> > +   config.status:
> > +           dh_auto_configure -- $configure_options
> 
> Is this patch somehow making it more likely that configure scripts run
> by override tagets will be run twice? In my testing they run twice
> when running debian/rules binary-indep; debian/rules binary-arch, but
> so too without the patch.

The patch doesn't change anything in this respect; this is just to
document one common method for avoiding this.

> > +A sequence can also run dependent targets in debian/rules.  For
> > +example, the "binary" sequence runs the "install" target.  This will
> > +show up in the dh output as "debian/rules install", but internally
> > +will be called "rules:install" in the sequence.  The "install"
> > +sequence likewise runs "debian/rules build", internally named
> > +"rules:build".
> 
> The dh man page does not need to document implementation details.

Feel free to remove it if it's out of place; in the latest patch
I sent the rules:foo commands in the sequence are recorded in
the debhelper.log file, so the rules:foo commands may be used with
--until, --after etc.  Probably not a good plan for users to
actually use them though.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to