Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OMNtq-0004Bq-4P for mharc-grub-devel@gnu.org; Wed, 09 Jun 2010 12:13:06 -0400 Received: from [140.186.70.92] (port=41906 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMNti-000373-JH for grub-devel@gnu.org; Wed, 09 Jun 2010 12:13:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMNi8-0006eW-6X for grub-devel@gnu.org; Wed, 09 Jun 2010 12:01:02 -0400 Received: from flatline.sindominio.net ([82.144.4.26]:57468) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMNi7-0006dz-Rw for grub-devel@gnu.org; Wed, 09 Jun 2010 12:01:00 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by flatline.sindominio.net (Postfix) with ESMTP id 7AA12348108 for ; Wed, 9 Jun 2010 18:00:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at sindominio.net Received: from flatline.sindominio.net ([127.0.0.1]) by localhost (flatline.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Hsal1zxxszg for ; Wed, 9 Jun 2010 18:00:51 +0200 (CEST) Received: from aigua.oskuro.net (37.109.221.87.dynamic.jazztel.es [87.221.109.37]) by flatline.sindominio.net (Postfix) with ESMTPA id 631C9348100 for ; Wed, 9 Jun 2010 18:00:51 +0200 (CEST) Received: by aigua.oskuro.net (Postfix, from userid 1000) id 6E7C1CA08D8; Wed, 9 Jun 2010 18:02:44 +0200 (CEST) Date: Wed, 9 Jun 2010 18:02:44 +0200 From: Jordi Mallach To: grub-devel@gnu.org Message-ID: <20100609160244.GC4571@aigua.oskuro.net> References: <20100608174656.GU21862@riva.ucam.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: <20100608174656.GU21862@riva.ucam.org> Organization: SinDominio X-Operating-System: Debian GNU/Linux sid (Linux 2.6.32-5-amd64 x86_64) User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] Improve man page headers X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2010 16:13:04 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 08, 2010 at 06:46:56PM +0100, Colin Watson wrote: > The following patch improves the man pages we generate by giving them > decent NAME sections, which are included in indexes of man pages and so > are worth getting right. help2man's default is something like > "grub-bin2h \- manual page for grub-bin2h (GRUB) 1.98" which is of > course hopeless in an index. What I do for Mailutils is extracting the NAME section on the fly. It's not really robust, as a change in the help output can break it (although lintian would probably nag us really quickly), but the problem with this approach is that if the description changes in the program, it needs to be manually updated in the h2m helpers. http://svn.debian.org/viewsvn/pkg-mailutils/trunk/debian/mangen.sh?revision= =3D348&view=3Dmarkup Jordi --=20 Jordi Mallach P=E9rez -- Debian developer http://www.debian.org/ jordi@sindominio.net jordi@debian.org http://www.sindominio.net/ GnuPG public key information available at http://oskuro.net/ --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwPuyQACgkQJYSUupF6Il4rMQCgxlVPa2NmoyNx7R70jyetcOXH 7P8AoLRFA7avm59rK+88RnoQjaC5/Eu8 =1JDS -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--