]> git.donarmstrong.com Git - debhelper.git/commitdiff
r226: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 05:16:37 +0000 (05:16 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 05:16:37 +0000 (05:16 +0000)
Dh_Lib.pm
debian/changelog
debian/rules

index b7f281babd3ae6055ca863656873e77130e8e906..73fd44ad61c4e40b76a9693813db6d4779a7d988 100644 (file)
--- a/Dh_Lib.pm
+++ b/Dh_Lib.pm
@@ -15,6 +15,8 @@ use vars qw(@ISA @EXPORT %dh);
            &xargs
            %dh);
 
+my $max_compat=2;
+
 sub init {
        # If DH_OPTIONS is set, prepend it @ARGV.
        if (defined($ENV{DH_OPTIONS})) {
@@ -196,7 +198,11 @@ sub compat {
        if (defined $ENV{DH_COMPAT}) {
                $c=$ENV{DH_COMPAT};
        }
-       
+
+       if ($c > $max_compat) {
+               error("Sorry, but $max_compat is the highest compatability level of debhelper currently supported.");
+       }
+
        return ($c == $num);
 }
 
index fb1a04f07e334bef5febeb7d698e99a9926df0f6..f66f96c34f11dc323c82cf5f3e179a4f80578bac 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (2.0.01) unstable; urgency=low
+
+  * Actually include doc/v2 this time round.
+
+ -- Joey Hess <joeyh@master.debian.org>  Thu,  1 Jul 1999 14:01:55 -0700
+
 debhelper (2.0.00) unstable; urgency=low
 
   * Don't let the version number fool you. Debhelper v2 is here, but just
index d0d8ed05035b65a61cdb0c4526d29c0efb79e791..5fcf25f3970a8961312a67f10b51e10552b56606 100755 (executable)
@@ -46,7 +46,7 @@ binary-indep: build
        cp -a Dh_*.pm debian/debhelper/usr/lib/debhelper
        cp -a autoscripts debian/debhelper/usr/lib/debhelper
 
-       ./dh_installdocs doc/TODO doc/README doc/PROGRAMMING doc/from-debstd
+       ./dh_installdocs doc/*
        ./dh_installexamples examples/*
        ./dh_installmenu
        ./dh_installmanpages