I have made a package with debhelper and dh_make, which produces a single
binary deb. However, now I would like to make two binaries from the same
packages, identical except for that each is built with different options
to configure (one has support for the LPRng print spooler and one does
not).

I was advised to look at the sample rules files in
/usr/share/doc/debhelper/examples, but I am not quite understanding what
they do. I looked at the glib source, and could follow that, but I was
advised to use DH_OPTIONS instead of many separate rules and -p options to
debhelper scripts, but I fail to see how to run configure twice, with
different options in the build-stamp rule and then install both into the
right place in the install rule (I just get identical stuff pacakged in
two locations), and dh_gencontrol also breaks:

dh_gencontrol
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}
dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends}

The dependency file is not output.

(The current copy (I took a lot of broken stuff out) of this is at
http://www-users.york.ac.uk/~rl117/linux/stcolortool-debpack.tar.gz)

Any advice or pointers to documentation appreciated (I could find little
about making this type of package).

Many thanks,
Roger Leigh

-- 
Roger Leigh ** Registration Number: 151826, http://counter.li.org **
Need Epson Stylus Utilities? http://www-users.york.ac.uk/~rl117/linux/
For GPG Public Key: finger [EMAIL PROTECTED] or see
                    http://pgp5.ai.mit.edu/pks-commands.html#extract

Reply via email to