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

Re: Make CDBS and debhelper not build one binary package



On 2012-07-29 10:16, P. J. McDermott wrote:
> Is there a way to make CDBS and its debhelper class not build a
> particular binary package?  With debhelper alone, I'd just use the
> -N/--no-package option.
> 
> I've tried adding that option to DH_OPTIONS,

I've realized that I had forgotten to export DH_OPTIONS...  I've got
this working now; sorry for the noise. :)

> and I've tried overriding
> DEB_ALL_PACKAGES after the CDBS class include lines as follows (where
> <binary-package> is the package I don't want to build):
> 
>     DEB_ALL_PACKAGES := $(subst <binary-package>,,$(strip $(shell \
>         dh_listpackages 2>/dev/null || dh_listpackages)))

Though I'm still not sure why that didn't work.  Oh well.

-- 
P. J. McDermott                                        (_/@\_)    ,--.
http://www.pehjota.net/                           o    < o o >   / oo \
http://www.pehjota.net/contact.html                 o   \ `-/    | <> |.
                                                o o o    "~v    /_\--/_/


Reply to: