Bug#603435: dpkg-buildflags should be able to provide a list of var/value pairs
On 16.11.2010 07:58, Raphael Hertzog wrote: retitle 603435 dpkg-buildflags without parameters should default to a reasonable action severity 603435 wishlist thanks On Tue, 16 Nov 2010, Matthias Klose wrote: thanks for the pointer, I'll use this, but dpkg-buildflags working without parameters would be nice. Please close the report if you choose to not implementing this. Any reason why --export=make uses := and not =? dpkg-buildflags provides all the logic allowing the user to override the value generated, the makefile doesn't need to use "?=". And even in a typical debian/rules, you first get the values from dpkg-buildflags and then you tweak it if needed. my question was, why ":=" instead of the simple "=", not "?=" ;) -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#603435: dpkg-buildflags should be able to provide a list of var/value pairs
Processing commands for cont...@bugs.debian.org: > retitle 603435 dpkg-buildflags without parameters should default to a > reasonable action Bug #603435 [dpkg-dev] dpkg-buildflags should be able to provide a list of var/value pairs Changed Bug title to 'dpkg-buildflags without parameters should default to a reasonable action' from 'dpkg-buildflags should be able to provide a list of var/value pairs' > severity 603435 wishlist Bug #603435 [dpkg-dev] dpkg-buildflags without parameters should default to a reasonable action Severity set to 'wishlist' from 'minor' > thanks Stopping processing here. Please contact me if you need assistance. -- 603435: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603435 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#603435: dpkg-buildflags should be able to provide a list of var/value pairs
retitle 603435 dpkg-buildflags without parameters should default to a reasonable action severity 603435 wishlist thanks On Tue, 16 Nov 2010, Matthias Klose wrote: > thanks for the pointer, I'll use this, but dpkg-buildflags working > without parameters would be nice. Please close the report if you > choose to not implementing this. Any reason why --export=make uses > := and not =? dpkg-buildflags provides all the logic allowing the user to override the value generated, the makefile doesn't need to use "?=". And even in a typical debian/rules, you first get the values from dpkg-buildflags and then you tweak it if needed. Cheers, -- Raphaël Hertzog ◈ Debian Developer ◈ [Flattr=20693] Follow my Debian News ▶ http://RaphaelHertzog.com (English) ▶ http://RaphaelHertzog.fr (Français) -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#603435: dpkg-buildflags should be able to provide a list of var/value pairs
On 14.11.2010 22:35, Jonathan Nieder wrote: Raphael Hertzog wrote: On Sat, 13 Nov 2010, Jonathan Nieder wrote: Matthias Klose wrote: Currently dpkg-architecture and dpkg-parsechangelogs allow printing all key/value pairs with one invocation, while dpkg-buildflags just gives an error message without parameters. Please provide a mode that prints all flags (like dpkg-architecture). This way, a makefile/rules file only needs one invocation of dpkg-architecture and use use makefile magic to split out the needed values. See dpkg-buildflags --export. e.g.: Yes, --export serves this purpose. Matthias, is this enough for you? If yes please close the bug. I do think it would be intuitive dpkg-buildflags with no arguments to print something simple and useful, unless you are reserving that syntax for future expansion. But yeah, --export takes care of most use cases already. thanks for the pointer, I'll use this, but dpkg-buildflags working without parameters would be nice. Please close the report if you choose to not implementing this. Any reason why --export=make uses := and not =? -- To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org