Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OM3Vo-0003Wa-5I for mharc-grub-devel@gnu.org; Tue, 08 Jun 2010 14:26:56 -0400 Received: from [140.186.70.92] (port=49550 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OM3Vl-0003SM-BY for grub-devel@gnu.org; Tue, 08 Jun 2010 14:26:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OM3Vj-0003Hv-Tb for grub-devel@gnu.org; Tue, 08 Jun 2010 14:26:53 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:33235) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM3Vj-0003He-Kk for grub-devel@gnu.org; Tue, 08 Jun 2010 14:26:51 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1OM3Vh-0002BH-VW for grub-devel@gnu.org; Tue, 08 Jun 2010 18:26:50 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1OM3Vh-00023K-00; Tue, 08 Jun 2010 19:26:49 +0100 Date: Tue, 8 Jun 2010 19:26:49 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100608182649.GV21862@riva.ucam.org> References: <20100608174656.GU21862@riva.ucam.org> <4C0E84E1.9040902@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C0E84E1.9040902@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] 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: Tue, 08 Jun 2010 18:26:54 -0000 On Tue, Jun 08, 2010 at 07:58:57PM +0200, Grégoire Sutre wrote: > In a recent message sent to the list [1], I proposed the following > modification [2] to account for filename transformations in man pages: > > + * Makefile.in (install-local): Use installed files on help2man command > + line to account for file name transformations. > > > - $(HELP2MAN) --section=1 -o $(DESTDIR)$(mandir)/man1/$$dest.1 > $(builddir)/$$file; \ > + $(HELP2MAN) --section=1 -o $(DESTDIR)$(mandir)/man1/$$dest.1 > $(DESTDIR)$(bindir)/$$dest; \ > > > Could your approach also support filename transformations? I'm not sure how that would work. I guess you'd need program_transform_name applied to the .h2m files. Do you want me to put my patch in a bzr branch so that you can experiment with that? I'm not sure I have time right now. -- Colin Watson [cjwatson@ubuntu.com]