summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey>1999-08-17 05:16:37 +0000
committerjoey <joey>1999-08-17 05:16:37 +0000
commita9572589e2be59827e115360cb3139eb814fb880 (patch)
treecbb90134bb25ef56de83da52de071c1335dc6b8d
parent44c5b3d589c31d7d03e6b4de8fd72f260eebbe93 (diff)
downloaddebhelper-a9572589e2be59827e115360cb3139eb814fb880.tar.gz
r226: Initial Import
-rw-r--r--Dh_Lib.pm8
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules2
3 files changed, 14 insertions, 2 deletions
diff --git a/Dh_Lib.pm b/Dh_Lib.pm
index b7f281ba..73fd44ad 100644
--- 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);
}
diff --git a/debian/changelog b/debian/changelog
index fb1a04f0..f66f96c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/debian/rules b/debian/rules
index d0d8ed05..5fcf25f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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