summaryrefslogtreecommitdiff
path: root/doc/v2
diff options
context:
space:
mode:
Diffstat (limited to 'doc/v2')
-rw-r--r--doc/v28
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/v2 b/doc/v2
index 4db20d5a..b120d036 100644
--- a/doc/v2
+++ b/doc/v2
@@ -3,7 +3,13 @@ being worked on, and will change in drastic ways without notice. To keep
this from breaking packages, debhelper will continue to operate in v1
compatability mode by default.
-To enable debhelper v2 features (do this with *caution*), set DH_COMPAT=2
+To enable debhelper v2 features (do this with *caution*), set DH_COMPAT=2 in
+your debian/rules. Also, it is a very good idea to add a call to your
+debian/rules like this:
+ dh_testversion 2
+To ensure that your package won't be built with some old version of
+debhelper that ignores the DH_COMPAT flag.
+
Here are the changes I'm planning to make to debhelper for v2, based on
prior discussion on debian-devel.