DH_TESTVERSION(1) Debhelper DH_TESTVERSION(1)
dh_testversion - ensure that the correct version of debhelper is
dh_testversion [debhelper options] [operator] [version]
Note: This program is deprecated. You should use build dependencies
dh_testversion compares the version of debhelper against the version
you specify, and if the condition is not met, exits with an error mes
You can use this in your debian/rules files if a new debhelper feature
is introduced, and your package requires that feature to build cor
rectly. Use debhelpers changelog to figure out the version you need.
Be sure not to overuse dh_testversion. If debhelper version 9.5 intro
duces a new dh_autofixbugs command, and your package uses it, then if
someone tries to build it with debhelper 1.0, the build will fail any
way when dh_autofixbugs cannot be found, so there is no need for you to
Optional comparison operator used in comparing the versions. If not
specified, ">=" is used. For descriptions of the comparison opera
tors, see dpkg --help.
Version number to compare against the current version of debhelper.
If not specified, dh_testversion does nothing.
This program is a part of debhelper.
5.0.42 2006-01-03 DH_TESTVERSION(1)