Bug#932263: suggested new helper: dh_do as a command filter

2019-07-20 Thread Helmut Grohne
Hi Niels, On Sat, Jul 20, 2019 at 07:37:00AM +, Niels Thykier wrote: > Can you show me some concrete of the examples, where this would be > useful. I am most interested in the "blob" disguised as "somecommand" > in your examples above (I can fully appreciate the value of getting rid > of the

Bug#932263: suggested new helper: dh_do as a command filter

2019-07-20 Thread Niels Thykier
Helmut Grohne: > Package: debhelper > Version: 12.2.2 > Severity: wishlist > > Hi Niels, > > I've noticed myself writing the following debian/rules pattern more than > once: > > ifneq (,$(filter somepackage,$(shell dh_listpackages))) > somecommand > endif > > For dh_* commands

Bug#932263: suggested new helper: dh_do as a command filter

2019-07-17 Thread Helmut Grohne
Package: debhelper Version: 12.2.2 Severity: wishlist Hi Niels, I've noticed myself writing the following debian/rules pattern more than once: ifneq (,$(filter somepackage,$(shell dh_listpackages))) somecommand endif For dh_* commands this can be improved to dh_foo