Re: Creating packages with different configurations

2024-06-11 Thread Andrey Rakhmatullin
On Tue, Jun 11, 2024 at 07:09:15PM +, David James wrote: > 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? Are you really asking about DEB_BUILD_PROFILES? Because

Re: Creating packages with different configurations

2024-06-11 Thread David James
On Monday, June 10th, 2024 at 11:58 AM, Lorenzo 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

Re: Creating packages with different configurations

2024-06-10 Thread Andrey Rakhmatullin
On Mon, Jun 10, 2024 at 12:58:01PM +0200, Lorenzo wrote: > > 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

Re: Creating packages with different configurations

2024-06-10 Thread Lorenzo
Hi, On Sat, 08 Jun 2024 15:54:16 + David James 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

Creating packages with different configurations

2024-06-08 Thread David James
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? If I have package-name-feature-1, package-name-feature-2 and package-name-data in d/control, how do I