From: Joey Hess Date: Sun, 15 Jan 2012 18:40:21 +0000 (-0400) Subject: move build depends section into compat section X-Git-Tag: 9.20120115~2 X-Git-Url: https://git.donarmstrong.com/?p=debhelper.git;a=commitdiff_plain;h=22ee10a98be87ff7258e413007a568c529929b54 move build depends section into compat section --- diff --git a/debhelper.pod b/debhelper.pod index 2a8f5de..011fb6e 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -271,6 +271,12 @@ F. For example, to turn on v9 mode: % echo 9 > debian/compat +Your package will also need a versioned build dependency on a version of +debhelper equal to (or greater than) the compatibility level your package +uses. So for compatibility level 9, ensure debian/control has: + + Build-Depends: debhelper (>= 9) + Unless otherwise indicated, all debhelper documentation assumes that you are using the most recent compatibility level, and in most cases does not indicate if the behavior is different in an earlier compatibility level, so @@ -615,22 +621,12 @@ act on. =head2 udebs Debhelper includes support for udebs. To create a udeb with debhelper, -add "B" to the package's stanza in F, and -build-depend on debhelper (>= 4.2). Debhelper will try to create udebs that -comply with debian-installer policy, by making the generated package files -end in F<.udeb>, not installing any documentation into a udeb, skipping over +add "B" to the package's stanza in F. +Debhelper will try to create udebs that comply with debian-installer +policy, by making the generated package files end in F<.udeb>, not +installing any documentation into a udeb, skipping over F, F, F, and F scripts, etc. -=head2 Build depends - -Once your package uses debhelper to build, be sure to add -debhelper to your Build-Depends line in F. You should -build-depend on a version of debhelper equal to (or greater than) the -debhelper compatibility level your package uses. So if your package used -compatibility level 9: - - Build-Depends: debhelper (>= 9) - =head1 ENVIRONMENT =over 4