Re: build-indep and buildd
On Wed, Feb 01, 2012 at 12:18:00PM +0100, Mathieu Malaterre wrote:
> Could someone please gives an update on the status of build-indep
> target and buildd machine ? I am using the following pattern (as per
> dh documentation):
>
> #!/usr/bin/make -f
> %:
> dh $@
>
> override_dh_auto_build-indep:
> $(MAKE) -C docs
>
> # No tests needed for docs
> override_dh_auto_test-indep:
>
> However buildd machine are still running -indep target. I'd like to
> test my package first on my local machine to mimic what would a buildd
> machine do (I cant find the dpkg-buildpackage command line option used
> for buildd)
I would make sure you are Build-Depending upon a new enough debhelper;
some versions were buggy until recently. The earliest non-broken
version is 8.9.10, though at this point >= 9 is probably best.
To test outside a buildd, run "dpkg-buildpackage -b" to check that it's
working correctly in addition to plain dpkg-buildpackage.
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.
Reply to: