summaryrefslogtreecommitdiff
path: root/dh_testversion
diff options
context:
space:
mode:
Diffstat (limited to 'dh_testversion')
-rwxr-xr-xdh_testversion3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_testversion b/dh_testversion
index b915dd1..e7fbfec 100755
--- a/dh_testversion
+++ b/dh_testversion
@@ -63,7 +63,10 @@ elsif ($#ARGV eq 0) {
$ver=shift;
}
+warning("This program is deprecated, you should use build dependencies instead.");
+
if (defined $compare and defined $ver) {
+ warning("Something like: \"Build-Depends: debhelper ($compare $ver)\"");
system('dpkg','--compare-versions',$Debian::Debhelper::Dh_Version::version,$compare,$ver) == 0 ||
error("debhelper version $Debian::Debhelper::Dh_Version::version is installed, but a version $compare $ver is needed to build this package.");
}