X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debhelper.pod;h=011fb6e7ce43627ae231d55e632bec676789fb12;hb=22ee10a98be87ff7258e413007a568c529929b54;hp=dc2295c14a561e9be099c0ff7d8f7b14fca215d3;hpb=77b80367ad0cfdbb3d78242fda3127559e2df576;p=debhelper.git diff --git a/debhelper.pod b/debhelper.pod index dc2295c..011fb6e 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -267,9 +267,15 @@ introduced. You tell debhelper which compatibility level it should use, and it modifies its behavior in various ways. Tell debhelper what compatibility level to use by writing a number to -F. For example, to turn on v8 mode: +F. For example, to turn on v9 mode: - % echo 8 > debian/compat + % 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 @@ -435,8 +441,6 @@ none is specified. =item v8 -This is the recommended mode of operation. - Changes from v7 are: =over 8 @@ -466,7 +470,7 @@ BI<*> prefer to use Perl's B in preference to F" 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 7: - - Build-Depends: debhelper (>= 7) - =head1 ENVIRONMENT =over 4