Architecture: all (was Re: dh $@ --with cli --with python2 --parallel)
On Wed, Sep 7, 2011 at 6:07 PM, Chow Loong Jin <firstname.lastname@example.org> wrote:
> For example:
> ifeq ($(shell dh_listpackages | grep -q cil && echo yes),yes)
> WITH_CLI = --with cli
> DEB_WRAP_CSHARP = 1
> WITH_CLI =
> DEB_WRAP_CSHARP = 0
> dh $@ $(WITH_CLI) --with python2 --parallel
> You'll of course have to split out the mono build-deps into Build-Depends-Indep.
> Take a look at libgpod[1,2] for an example, though in my case I didn't use
> dh_listpackages, but set an environment variable depending on whether
> binary-arch or binary-indep was called.
Wow ! Your example is just fantastic ! Just one note though, are you sure about:
I was told that my arch should not be set to all since mono is not
available on -say- hppa. Policy requires it should be 'any' (*) ?
Thanks again !