*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> dh_testversion (1)              
Title
Content
Arch
Section
 

DH_TESTVERSION(1)

Contents


NAME    [Toc]    [Back]

       dh_testversion - ensure that the correct version of debhelper is
       installed

SYNOPSIS    [Toc]    [Back]

       dh_testversion [debhelper options] [operator] [version]

DESCRIPTION    [Toc]    [Back]

       Note: This program is deprecated. You should use build dependencies
       instead.

       dh_testversion compares the version of debhelper against the version
       you specify, and if the condition is not met, exits with an error message.


       You can use this in your debian/rules files if a new debhelper feature
       is introduced, and your package requires that feature to build correctly.
 Use debhelper's changelog to figure out the version you need.

       Be sure not to overuse dh_testversion. If debhelper version 9.5 introduces
 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 anyway
 when dh_autofixbugs cannot be found, so there is no need for you to
       use dh_testversion.

OPTIONS    [Toc]    [Back]

       operator
	   Optional comparison operator used in comparing the versions. If not
	   specified, ">=" is used. For descriptions of the comparison operators,
 see dpkg --help.

       version
	   Version number to compare against the current version of debhelper.
	   If not specified, dh_testversion does nothing.

SEE ALSO    [Toc]    [Back]

      
      
       debhelper(1)

       This program is a part of debhelper.

AUTHOR    [Toc]    [Back]

       Joey Hess <joeyh@debian.org>



3rd Berkeley Distribution	  2002-01-05		     DH_TESTVERSION(1)
[ Back ]
 Similar pages
Name OS Title
debhelper Linux the debhelper tool suite
dh_listpackages Linux list binary packages debhelper will act on
dh_testroot Linux ensure that a package is built as root
cap_envl IRIX ensure sufficient process privilege
versw Tru64 Manages the transition from the active version of the operating system to a new version
xfs_chver IRIX change the version of a filesystem to enable the extent unwritten version.
tt_ptype_exists HP-UX indicate whether a ptype is already installed
itimerfix NetBSD check that a timeval value is valid, and correct
cocogif IRIX color correct a GIF image file
cocostiff IRIX color correct a TIFF stream
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service