3 # Debhelper version check.
5 BEGIN { push @INC, "debian", "/usr/lib/debhelper" }
7 use Dh_Version; # contains the version number of debhelper.
21 if (defined $compare and defined $ver) {
22 system('dpkg','--compare-versions',$Dh_Version::version,$compare,$ver) == 0 ||
23 error("debhelper version $Dh_Version::version is installed, but a version $compare $ver is needed to build this package.");