From 1ce568fe59f80ef9224a8a4c07b24b3e50beed00 Mon Sep 17 00:00:00 2001 From: joey Date: Fri, 5 Nov 1999 05:36:58 +0000 Subject: [PATCH] r303: * Added build dependancies to this package. That was easy; it just uses perl5 for regression testing, the rest of its build-deps are things in base. * dh_version.1: Added note that this program is quickly becoming obsolete. * doc/README, doc/from-debstd: Added reminders that if you use debhelper, you need to add debhelper to your Build-Depends line. --- debian/changelog | 11 +++++++++++ debian/control | 3 ++- dh_testversion.1 | 34 +++++++++++++++++++++------------- doc/README | 19 +++++++++++-------- 4 files changed, 45 insertions(+), 22 deletions(-) diff --git a/debian/changelog b/debian/changelog index 74b2fe7..3e728dd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,14 @@ +debhelper (2.0.70) unstable; urgency=low + + * Added build dependancies to this package. That was easy; it just uses + perl5 for regression testing, the rest of its build-deps are things + in base. + * dh_version.1: Added note that this program is quickly becoming obsolete. + * doc/README, doc/from-debstd: Added reminders that if you use debhelper, + you need to add debhelper to your Build-Depends line. + + -- Joey Hess Thu, 4 Nov 1999 21:24:37 -0800 + debhelper (2.0.69) unstable; urgency=low * dh_shlibdeps: added -l option, which lets you specify a path that diff --git a/debian/control b/debian/control index b34f900..980e2f3 100644 --- a/debian/control +++ b/debian/control @@ -2,7 +2,8 @@ Source: debhelper Section: devel Priority: optional Maintainer: Joey Hess -Standards-Version: 3.0.1.1 +Build-Depends-Indep: perl5 +Standards-Version: 3.1.0.0 Package: debhelper Architecture: all diff --git a/dh_testversion.1 b/dh_testversion.1 index f385a8c..fcbc2fd 100644 --- a/dh_testversion.1 +++ b/dh_testversion.1 @@ -1,9 +1,12 @@ -.TH DH_TESTROOT 1 +.TH DH_TESTVERSION 1 "" "Debhelper Commands" "Debhelper Commands" .SH NAME dh_testversion \- ensure that the correct version of debhelper is installed .SH SYNOPSIS -.B dh_testversion [operator] [version] +.B dh_testversion [debhelper options] [operator] [version] .SH "DESCRIPTION" +Note: This program is rapidly becoming obsolete. Soon you will be able to +use build dependanices instead. +.P dh_testversion compares the version of debhelper against the version you specify, and if the condition is not met, exits with an error message. .P @@ -18,6 +21,11 @@ dh_autofixbugs cannot be found, so there is no need for you to use dh_testversion. .SH OPTIONS .TP +.B debhelper options +See +.BR debhelper (1) +for a list of options common to all debhelper commands. +.TP .B operator Optional comparison operator used in comparing the versions. If not specified, ">=" is used. For descriptions of the comparison operators, see @@ -25,22 +33,22 @@ dpkg --help. .TP .B version Version number to compare against the current version of debhelper. If not -specified, dh_testroot does nothing. +specified, dh_testversion does nothing. .SH EXAMPLES .TP -.I dh_testversion 0.50 -Make sure debhelper version 0.50 or higher is installed. +.I dh_testversion 1.0 +Make sure debhelper version 1.0 or higher is installed. .TP -.I dh_testversion ge 0.50 -Another way to make sure debhelper version 0.50 or higher is installed. +.I dh_testversion ge 1.0 +Another way to make sure debhelper version 1.0 or higher is installed. .TP -.I dh_testversion le 0.50 -Make sure a version of debhelper less than version 0.50 is installed. +.I dh_testversion lt 1.0 +Make sure a version of debhelper less than version 1.0 is installed. .SH ENVIRONMENT -.TP -.I DH_VERBOSE -Enables verbose mode. +See +.BR debhelper (1) +for a list of environment variables that affect all debhelper commands. .SH "SEE ALSO" -.BR /usr/doc/debhelper/README +.BR debhelper (1) .SH AUTHOR Joey Hess diff --git a/doc/README b/doc/README index 9ea93ca..624744a 100644 --- a/doc/README +++ b/doc/README @@ -59,13 +59,16 @@ system ($temp) / 256 == 0 Other notes: ----------- -Note that if you are generating a debian package that has arch-indep and -arch-dependent portions, and you are using dh_movefiles to move the -arch-indep files out of debian/tmp, you need to make sure that dh_movefiles -does this even if only the arch-dependent package is being built (for ports -to other architectures). I handle this in debian/rules.multi by calling -dh_movefiles in the install target. - -Debhelper's home page is at http://kitenet.net/programs/debhelper/ +* Note that if you are generating a debian package that has arch-indep and + arch-dependent portions, and you are using dh_movefiles to move the + arch-indep files out of debian/tmp, you need to make sure that dh_movefiles + does this even if only the arch-dependent package is being built (for ports + to other architectures). I handle this in debian/rules.multi by calling + dh_movefiles in the install target. + +* Once your package uses debhelper to build, be sure to add + debhelper to your Build-Depends line in debian/control. + +* Debhelper's home page is at http://kitenet.net/programs/debhelper/ -- Joey Hess -- 2.39.2