Bug#520567: calling the same helper for separate packages in the override of dh binary-indep/binary-arch

2009-03-21 Thread Modestas Vainius
Hello, On 2009 m. March 21 d., Saturday 03:57:03 you wrote: > I found a simpler way to express the desired behavior: > > If DH_INTERNAL_OPTIONS specifies a set of packages, > all packages not in that set should be excluded. > > I've checked in an implementation of that, which turned out to be > si

Bug#520567: calling the same helper for separate packages in the override of dh binary-indep/binary-arch

2009-03-20 Thread Joey Hess
I found a simpler way to express the desired behavior: If DH_INTERNAL_OPTIONS specifies a set of packages, all packages not in that set should be excluded. I've checked in an implementation of that, which turned out to be simpler too. -- see shy jo signature.asc Description: Digital signature

Bug#520567: calling the same helper for separate packages in the override of dh binary-indep/binary-arch

2009-03-20 Thread Modestas Vainius
Hello, On 2009 m. March 21 d., Saturday 01:51:21 you wrote: > #5 seems like a better approach than #4. I don't see a need to to both, > but it looks like your patch for #5 depends on your patch for #4. #5 depends on #4 because #5 also needs to be able restore $dh prior DH_INTERNAL_OPTIONS if -p/-

Bug#520567: calling the same helper for separate packages in the override of dh binary-indep/binary-arch

2009-03-20 Thread Joey Hess
Modestas Vainius wrote: > 4) ignoring -a/-i/-s/-p passed via DH_INTERNAL_OPTIONS if either of these > options >is specified on the command line. That's what the attached 0001 patch is >about. You could simplify the patch a bit (i.e. avoid backup_hash() / >restore_hash()) if you moved D

Bug#520567: calling the same helper for separate packages in the override of dh binary-indep/binary-arch

2009-03-20 Thread Modestas Vainius
Package: debhelper Version: 7.2.6 Severity: normal Tags: patch Hello, consider the following debian/rules snippet: override_dh_makeshlibs: dh_makeshlibs -pliba -V'liba (>= 0.1)' dh_makeshlibs -plibb -V'libb (>= 0.1)' When this override is called via `dh binary-arch`, DH_INTERNAL