From: joey Date: Tue, 17 Aug 1999 05:16:37 +0000 (+0000) Subject: r226: Initial Import X-Git-Tag: debian_version_0_1~19 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a9572589e2be59827e115360cb3139eb814fb880;p=debhelper.git r226: Initial Import --- diff --git a/Dh_Lib.pm b/Dh_Lib.pm index b7f281b..73fd44a 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 fb1a04f..f66f96c 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 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 d0d8ed0..5fcf25f 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