From: joey Date: Tue, 17 Aug 1999 05:16:42 +0000 (+0000) Subject: r227: Initial Import X-Git-Tag: debian_version_0_1~18 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4a795d1822c682a578328553b9e072c1b8e3b1e9;p=debhelper.git r227: Initial Import --- diff --git a/debian/changelog b/debian/changelog index f66f96c..1ef0294 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +debhelper (2.0.02) unstable; urgency=low + + * If you're going to use v2, it's reccommended you call + "dh_testversion 2". Added a note about that to doc/v2. + * Dh_Lib.pm compat: if a version that is greater than the highest + supported compatability level is specified, abort with an error. Perhaps + there will be a debhelper v3 some day... + + -- Joey Hess Thu, 1 Jul 1999 14:08:14 -0700 + debhelper (2.0.01) unstable; urgency=low * Actually include doc/v2 this time round. diff --git a/debian/control b/debian/control index 3f546b8..45834e1 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Standards-Version: 2.5.1.0 Package: debhelper Architecture: all -Depends: perl (>= 5.004), fileutils (>= 3.16-4), file +Depends: perl (>= 5.004), fileutils (>= 3.16-4), file (>= 3.23-1) Suggests: dh-make Description: helper programs for debian/rules A collection of programs that can be used in a debian/rules file to diff --git a/debian/rules b/debian/rules index 5fcf25f..e1f8d23 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,8 @@ # Note that I have to refer to debhelper programs with ./, to make sure # I run the most current ones. That's also why there is a symlink to the # current Dh_lib.pm and the current Dh_getopt.pm in this debian/ directory. +# +# This is _not_ a good example of a debhelper rules file. # If any automatic script generation is done in building this package, # be sure to use the new templates from this package. diff --git a/doc/v2 b/doc/v2 index 4db20d5..b120d03 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.