Roger Leigh wrote: > Good point. In the attached patch I've retained the scheme for > the build and install targets, where it serves a purpose, and > dropped it for binary.
$sequences{binary} = ['rules:install', @ba, @b];
$sequences{'binary-indep'} = ['rules:install-indep', @b];
$sequences{'binary-arch'} = ['rules:install-arch', @ba, @b];
But now binary-indep/arch targets won't be run by debian/rules binary.
It also is somewhat surprising that, when both build-indep and build-arch
targets are defined, build still runs dh_auto_build before running either.
Perhaps not only surprising, but likely to break existing packages. If
an existing package has its own build targets, and implicit binary-* set to
depend on it, it can expect dh_auto_build not to run unless it calls it in
build. But with the patched dh, debian/rules binary will run dh_auto_build
anyway.
--
see shy jo
signature.asc
Description: Digital signature

