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

Re: Multiple binary source & per-package dh_ options?



On Fri, Jan 30, 2004 at 04:01:33PM -0500, Stephen Gran wrote:
> I am working on a multi-binary source, and what I want to do is pass
> different options to different packages.  Is this possible?  I see the
> -p option common to all debhelper programs, but how to do this?
> dh_installinit -p foo -n
> dh_installinit -a
> or something?

> Anybody doing anything like this?
[...]

Check for example the cdrtools package, which has separate targets in
debian/rules for each binary und uses -p$@

binary-arch: build install cdrecord mkisofs

and
cdrecord: install
        dh_installdirs -p$@
        dh_link -p$@
        [...]
        dh_builddeb -p$@

         cu andreas
-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"



Reply to: