On 11-06-12 at 04:09pm, danstowell-gu...@users.alioth.debian.org wrote: > # SCVIM/SCED=0 here, because we install them by hand below > # (so that the build won't break) > -DEB_SCONS_OPTIONS = DEVELOPMENT=yes PREFIX=/usr CROSSCOMPILE=1 STRIP=1 > CURL=0 SCVIM=0 SCED=0 > +DEB_SCONS_OPTIONS = DEVELOPMENT=yes PREFIX=/usr CROSSCOMPILE=1 CURL=0 > SCVIM=0 SCED=0 > +# Handle DEB_BUILD_OPTIONS (see policy 4.9.1) > +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) > + DEB_SCONS_OPTIONS += "DEBUG=1" > +endif > +ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) > + DEB_SCONS_OPTIONS += "STRIP=0" > +else > + DEB_SCONS_OPTIONS += "STRIP=1" > +endif > + > DEB_SCONS_INSTALL_TARGET = DESTDIR=$(DEB_DESTDIR) install
Possibly more elegant is to always disable upstream stripping, as dh_strip does it too and checks DEB_BUILD_OPTIONS itself. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private
signature.asc
Description: Digital signature
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers