On Monday, June 10th, 2024 at 11:58 AM, Lorenzo <plore...@disroot.org> wrote:
> Hi, > > 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 > > Or build in two dirs, like > https://tracker.debian.org/media/packages/c/curl/rules-8.8.0-1 > > -- > WBR, wRAR These examples were exactly what I needed, thank you both. One more thing: When running a package builder such as dpkg, does dh run once for each item in DEB_BUILD_PROFILES? Regards, David James