Hi, On Sat, 08 Jun 2024 15:54:16 +0000 David James <davidjamescastor...@proton.me> wrote:
> Dear Mentors, > > If I wish to create two binary packages with different > configurations from a single source package (e.g. to support > different ISA levels), what's the best way to implement this? I'm not sure I understand, you want the same binary that uses two different config files or you want to build from source twice with different (mutually exclusive) configuration switch? If it's the latter you need to build, move the bin, clean and build again; see mplayer rules and install files for an example https://salsa.debian.org/multimedia-team/mplayer/-/blob/master/debian/rules?ref_type=heads (around line 95) Regards, Lorenzo > > If I have package-name-feature-1, package-name-feature-2 and > package-name-data in d/control, how do I implement this in d/rules? > What is the syntax? > > Regards, > > David James >