Package: debhelper
Version: 8.1.3
Severity: wishlist

Here are minor patches to lay out the manual page similarly as in
cp(1), mv(1), ssh(1) etc.

The alphabetical order works well while searching; no oriantation
problems regardless of tools; even when you print on paper when you
don't have any computerized aids to help your search.

The patches are against Git:

  e45627b 2011-04-22 16:27:24 -0400 releasing version 8.1.4

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils               2.21.0.20110327-3 The GNU assembler, linker and bina
ii  dpkg-dev               1.16.0.2          Debian package development tools
ii  file                   5.04-5+b1         Determines file type using "magic"
ii  html2text              1.3.2a-15         advanced HTML to text converter
ii  man-db                 2.5.9-4           on-line manual pager
ii  perl                   5.10.1-19         Larry Wall's Practical Extraction 
ii  perl-base              5.10.1-19         minimal Perl system
ii  po-debconf             1.0.16+nmu1       tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make                       0.58       tool that converts source archives

-- no debconf information
>From 54bf5bf126bd9bfe55e9e4a627036220d6c42d7d Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sun, 24 Apr 2011 11:05:48 +0300
Subject: [PATCH 2/4] debhelper.pod: (COMMON DEBHELPER OPTIONS): Order items alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debhelper.pod |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debhelper.pod b/debhelper.pod
index a1c2f3c..616be93 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -173,6 +173,11 @@ option does.
 
 =over 4
 
+=item B<-A>, B<--all>
+
+Makes files or other items that are specified on the command line take effect
+in ALL packages acted on, not just the first.
+
 =item B<-n>
 
 Do not modify F<postinst>, F<postrm>, etc. scripts.
@@ -182,11 +187,6 @@ Do not modify F<postinst>, F<postrm>, etc. scripts.
 Exclude an item from processing. This option may be used multiple times,
 to exclude more than one thing.
 
-=item B<-A>, B<--all>
-
-Makes files or other items that are specified on the command line take effect
-in ALL packages acted on, not just the first.
-
 =back
 
 =head1 BUILD SYSTEM OPTIONS
-- 
1.7.4.1

>From 36fcabf5bf8994b5071976d3301e1b6679363124 Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sun, 24 Apr 2011 11:08:07 +0300
Subject: [PATCH 4/4] debhelper.pod: (ENVIRONMENT): Order items alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debhelper.pod |   34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/debhelper.pod b/debhelper.pod
index 01ab209..d690767 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -583,10 +583,21 @@ compatibility level 7:
 
 =over 4
 
-=item B<DH_VERBOSE>
+=item B<DH_ALWAYS_EXCLUDE>
 
-Set to B<1> to enable verbose mode. Debhelper will output every command it runs
-that modifies files on the build system.
+If set, this adds the value the variable is set to to the B<-X> options of all
+commands that support the B<-X> option. Moreover, B<dh_builddeb> will B<rm -rf>
+anything that matches the value in your package build tree.
+
+This can be useful if you are doing a build from a CVS source tree, in
+which case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories
+from sneaking into the package you build. Or, if a package has a source
+tarball that (unwisely) includes CVS directories, you might want to export
+B<DH_ALWAYS_EXCLUDE=CVS> in F<debian/rules>, to make it take effect wherever
+your package is built.
+
+Multiple things to exclude can be separated with colons, as in
+B<DH_ALWAYS_EXCLUDE=CVS:.svn>
 
 =item B<DH_COMPAT>
 
@@ -608,21 +619,10 @@ all debhelper commands that will be run. One good way to set B<DH_OPTIONS> is
 by using "Target-specific Variable Values" in your F<debian/rules> file. See
 the make documentation for details on doing this.
 
-=item B<DH_ALWAYS_EXCLUDE>
-
-If set, this adds the value the variable is set to to the B<-X> options of all
-commands that support the B<-X> option. Moreover, B<dh_builddeb> will B<rm -rf>
-anything that matches the value in your package build tree.
-
-This can be useful if you are doing a build from a CVS source tree, in
-which case setting B<DH_ALWAYS_EXCLUDE=CVS> will prevent any CVS directories
-from sneaking into the package you build. Or, if a package has a source
-tarball that (unwisely) includes CVS directories, you might want to export
-B<DH_ALWAYS_EXCLUDE=CVS> in F<debian/rules>, to make it take effect wherever
-your package is built.
+=item B<DH_VERBOSE>
 
-Multiple things to exclude can be separated with colons, as in
-B<DH_ALWAYS_EXCLUDE=CVS:.svn>
+Set to B<1> to enable verbose mode. Debhelper will output every command it runs
+that modifies files on the build system.
 
 =back
 
-- 
1.7.4.1

>From 89cf8775e9f97903e389da0f4b3daff730c4229d Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sun, 24 Apr 2011 11:06:11 +0300
Subject: [PATCH 3/4] debhelper.pod: (BUILD SYSTEM OPTIONS): Order items alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debhelper.pod |   46 +++++++++++++++++++++++-----------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/debhelper.pod b/debhelper.pod
index 616be93..01ab209 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -198,17 +198,6 @@ You can use these command line options to override the default behavior.
 
 =over 4
 
-=item B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>
-
-Force use of the specified I<buildsystem>, instead of trying to auto-select
-one which might be applicable for the package.
-
-=item B<-D>I<directory>, B<--sourcedirectory=>I<directory>
-
-Assume that the original package source tree is at the specified
-I<directory> rather than the top level directory of the Debian
-source package tree.
-
 =item B<-B>[I<directory>], B<--builddirectory=>[I<directory>]
 
 Enable out of source building and use the specified I<directory> as the build
@@ -224,15 +213,18 @@ If the build system prefers out of source tree building but still
 allows in source building, the latter can be re-enabled by passing a build
 directory path that is the same as the source directory path.
 
-=item B<--parallel>
+=item B<-D>I<directory>, B<--sourcedirectory=>I<directory>
 
-Enable parallel builds if underlying build system supports them.
-The number of parallel jobs is controlled by the
-B<DEB_BUILD_OPTIONS> environment variable (L<Debian Policy, section 4.9.1>) at
-build time. It might also be subject to a build system specific limit.
+Assume that the original package source tree is at the specified
+I<directory> rather than the top level directory of the Debian
+source package tree.
 
-If this option is not specified, debhelper currently defaults to not
-allowing parallel package builds.
+=item B<--list>, B<-l>
+
+List all build systems supported by debhelper on this system. The list
+includes both default and third party build systems (marked as such). Also
+shows which build system would be automatically selected, or which one
+is manually specified with the B<--buildsystem> option.
 
 =item B<--max-parallel=>I<maximum>
 
@@ -241,12 +233,20 @@ jobs that can be used in a parallel build. If the package build is known to
 only work with certain levels of concurrency, you can set this to the maximum
 level that is known to work, or that you wish to support.
 
-=item B<--list>, B<-l>
+=item B<--parallel>
 
-List all build systems supported by debhelper on this system. The list
-includes both default and third party build systems (marked as such). Also
-shows which build system would be automatically selected, or which one
-is manually specified with the B<--buildsystem> option.
+Enable parallel builds if underlying build system supports them.
+The number of parallel jobs is controlled by the
+B<DEB_BUILD_OPTIONS> environment variable (L<Debian Policy, section 4.9.1>) at
+build time. It might also be subject to a build system specific limit.
+
+If this option is not specified, debhelper currently defaults to not
+allowing parallel package builds.
+
+=item B<-S>I<buildsystem>, B<--buildsystem=>I<buildsystem>
+
+Force use of the specified I<buildsystem>, instead of trying to auto-select
+one which might be applicable for the package.
 
 =back
 
-- 
1.7.4.1

>From ff3ae04a1a530c36d7d86f352c1f9262659df31f Mon Sep 17 00:00:00 2001
From: Jari Aalto <jari.aa...@cante.net>
Date: Sun, 24 Apr 2011 10:53:24 +0300
Subject: [PATCH 1/4] debhelper.pod: (SHARED DEBHELPER OPTIONS): Order items alphabetically
Organization: Private
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit


Signed-off-by: Jari Aalto <jari.aa...@cante.net>
---
 debhelper.pod |   72 ++++++++++++++++++++++++++++----------------------------
 1 files changed, 36 insertions(+), 36 deletions(-)

diff --git a/debhelper.pod b/debhelper.pod
index 9939ea1..a1c2f3c 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -94,15 +94,6 @@ The following command line options are supported by all debhelper programs.
 
 =over 4
 
-=item B<-v>, B<--verbose>
-
-Verbose mode: show all commands that modify the package build directory.
-
-=item B<--no-act>
-
-Do not really do anything. If used with -v, the result is that the command
-will output what it would have done.
-
 =item B<-a>, B<--arch>
 
 Act on architecture dependent packages that should be built for the
@@ -112,29 +103,6 @@ build architecture.
 
 Act on all architecture independent packages.
 
-=item B<-p>I<package>, B<--package=>I<package>
-
-Act on the package named I<package>. This option may be specified multiple
-times to make debhelper operate on a given set of packages.
-
-=item B<-s>, B<--same-arch>
-
-This used to be a smarter version of the B<-a> flag, but the B<-a> flag is now
-equally smart.
-
-=item B<-N>I<package>, B<--no-package=>I<package>
-
-Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option lists
-the package as one that should be acted on.
-
-=item B<--remaining-packages>
-
-Do not act on the packages which have already been acted on by this debhelper
-command earlier (i.e. if the command is present in the package debhelper log).
-For example, if you need to call the command with special options only for a
-couple of binary packages, pass this option to the last call of the command to
-process the rest of packages with default settings. 
-
 =item B<--ignore=>I<file>
 
 Ignore the specified file. This can be used if F<debian/> contains a debhelper
@@ -145,10 +113,6 @@ then, there should never be a reason to ignore those files.
 For example, if upstream ships a F<debian/init> that you don't want
 B<dh_installinit> to install, use B<--ignore=debian/init>
 
-=item B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>
-
-Use I<tmpdir> for package build directory. The default is debian/I<package>
-
 =item B<--mainpackage=>I<package>
 
 This little-used option changes the package which debhelper considers the
@@ -156,6 +120,16 @@ This little-used option changes the package which debhelper considers the
 one for which F<debian/foo> files can be used instead of the usual
 F<debian/package.foo> files.
 
+=item B<--no-act>
+
+Do not really do anything. If used with -v, the result is that the command
+will output what it would have done.
+
+=item B<-N>I<package>, B<--no-package=>I<package>
+
+Do not act on the specified package even if an B<-a>, B<-i>, or B<-p> option lists
+the package as one that should be acted on.
+
 =item B<-O=>I<option>|I<bundle>
 
 This is used by L<dh(1)> when passing user-specified options to all the
@@ -163,6 +137,32 @@ commands it runs. If the command supports the specified option or option
 bundle, it will take effect. If the command does not support the option (or
 any part of an option bundle), it will be ignored.
 
+=item B<-p>I<package>, B<--package=>I<package>
+
+Act on the package named I<package>. This option may be specified multiple
+times to make debhelper operate on a given set of packages.
+
+=item B<-P>I<tmpdir>, B<--tmpdir=>I<tmpdir>
+
+Use I<tmpdir> for package build directory. The default is debian/I<package>
+
+=item B<--remaining-packages>
+
+Do not act on the packages which have already been acted on by this debhelper
+command earlier (i.e. if the command is present in the package debhelper log).
+For example, if you need to call the command with special options only for a
+couple of binary packages, pass this option to the last call of the command to
+process the rest of packages with default settings. 
+
+=item B<-s>, B<--same-arch>
+
+This used to be a smarter version of the B<-a> flag, but the B<-a> flag is now
+equally smart.
+
+=item B<-v>, B<--verbose>
+
+Verbose mode: show all commands that modify the package build directory.
+
 =back
 
 =head1 COMMON DEBHELPER OPTIONS
-- 
1.7.4.1

Reply via email to