From 2d75be58ad42d56059c4fb4a267c7e0ca6b49e64 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Sep 2011 14:06:27 -0400 Subject: -arch and -indep overrides * dh: Now you can use override_dh_command-arch and override_dh_command-indep to run different overrides when building arch and indep packages. This allows for a much simplified form of rules file in this situation, where build-arch/indep and binary-arch/indep targets do not need to be manually specified. See man page for examples. * dh: Note that if a rules file has say, override_dh_fixperms-arch, but no corresponding override_dh_fixperms-indep, then the unoverridden dh_fixperms will be run on the indep packages. * dh: Note that the old override_dh_command takes precidence over the new overrides, because mixing the two types of overrides would have been too complicated. In particular, it's difficult to ensure an old override target will work if it's sometimes constrained to only acting on half the packages it would normally run on. This would be a source of subtle bugs, so is avoided. --- debian/changelog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'debian/changelog') diff --git a/debian/changelog b/debian/changelog index f0ea5e75..83ba2ea0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,19 @@ debhelper (8.9.7) UNRELEASED; urgency=low + * dh: Now you can use override_dh_command-arch and override_dh_command-indep + to run different overrides when building arch and indep packages. This + allows for a much simplified form of rules file in this situation, where + build-arch/indep and binary-arch/indep targets do not need to be manually + specified. See man page for examples. Closes: #640965 + * dh: Note that if a rules file has say, override_dh_fixperms-arch, + but no corresponding override_dh_fixperms-indep, then the unoverridden + dh_fixperms will be run on the indep packages. + * dh: Note that the old override_dh_command takes precidence over the new + overrides, because mixing the two types of overrides would have been + too complicated. In particular, it's difficult to ensure an + old override target will work if it's sometimes constrained to only + acting on half the packages it would normally run on. This would be + a source of subtle bugs, so is avoided. * dh: Don't bother running dh_shlibdebs, dh_makeshlibs, or dh_strip for the binary target when all packages being acted on are indep. * debhelper no longer build-depends on man-db or file, to ease bootstrapping. -- cgit v1.2.3