Re: Make CDBS and debhelper not build one binary package

2012-07-30 Thread P. J. McDermott
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/_\--/_/


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50167b4d.3020...@nac.net



Make CDBS and debhelper not build one binary package

2012-07-29 Thread P. J. McDermott
Hi,

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, 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)))

Both still resulted in binary-package being built.

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


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/501545c7.5090...@nac.net