Penguin
Blame: dh_testversion(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of dh_testversion(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 DH_TESTVERSION
2 !!!DH_TESTVERSION
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 OPTIONS
7 SEE ALSO
8 AUTHOR
9 ----
10 !!NAME
11
12
13 dh_testversion - ensure that the correct version of debhelper is installed
14 !!SYNOPSIS
15
16
17 __dh_testversion__ [[''debhelper options'']
18 [[''operator''] [[''version'']
19 !!DESCRIPTION
20
21
22 Note: This program is deprecated. You should use build
23 dependencies instead.
24
25
26 dh_testversion compares the version of debhelper against the
27 version you specify, and if the condition is not met, exits
28 with an error message.
29
30
31 You can use this in your debian/rules files if a new
32 debhelper feature is introduced, and your package requires
33 that feature to build correctly. Use debhelper's changelog
34 to figure out the version you need.
35
36
37 Be sure not to overuse dh_testversion. If debhelper version
38 9.5 introduces a new dh_autofixbugs command, and your
39 package uses it, then if someone tries to build it with
40 debhelper 1.0, the build will fail anyway when
41 dh_autofixbugs cannot be found, so there is no need for you
42 to use dh_testversion.
43 !!OPTIONS
44
45
46 ''operator''
47
48
49 Optional comparison operator used in comparing the versions.
50 If not specified, ``
51
52
53 ''version''
54
55
56 Version number to compare against the current version of
57 debhelper. If not specified, dh_testversion does
58 nothing.
59 !!SEE ALSO
60
61
62 debhelper(1)
63
64
65 This program is a part of debhelper.
66 !!AUTHOR
67
68
69 Joey Hess
70 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.