[Build-common-hackers] How to omit --dbg-package for certain binary packages
biebl at debian.org
Sat Jun 4 01:16:05 UTC 2011
in the pkg-gnome team we use cdbs and we have several packages which build
different flavors (eg. deb/udeb builds or gtk/gnome builds).
As an example
envince-gtk is a flavour of the evince build with different configure options
(basically all gnome deps disabled).
Now, as debian/control contains a evince-dbg package, cdbs will call
dh_strip --dbg-package=evince-dbg for *all* binary packages.
In case of evince-gtk, we don't want that, as this would overwrite the detached
debugging symbols of the evince binary package.
For this we used a "hack":
DEB_DH_STRIP_ARGS_evince-gtk = --dbg-package=
This no longer works with debhelper compat level 8 and one gets
"Option dbg-package requires an argument"
when calling dh_strip -pevince-gtk --dbg-package=
Do you have a suggestion, how to omit the --dbg-package option for evince-gtk in
a clean way using cdbs?
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 900 bytes
Desc: OpenPGP digital signature
More information about the Build-common-hackers