summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-09-11 14:06:27 -0400
committerJoey Hess <joey@kitenet.net>2011-09-11 14:23:55 -0400
commit2d75be58ad42d56059c4fb4a267c7e0ca6b49e64 (patch)
tree6908db127c0dd0dd9752da2b6928c421ff54222a /debian
parente14e51cc8d91ac28fb215ef27233f3ee3204cf11 (diff)
-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.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog14
1 files changed, 14 insertions, 0 deletions
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.