Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ONBX7-00018h-Lr for mharc-grub-devel@gnu.org; Fri, 11 Jun 2010 17:12:57 -0400 Received: from [140.186.70.92] (port=48708 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONBX4-00013z-G6 for grub-devel@gnu.org; Fri, 11 Jun 2010 17:12:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONBX3-0007sx-5j for grub-devel@gnu.org; Fri, 11 Jun 2010 17:12:54 -0400 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:55833) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONBX3-0007sg-0W for grub-devel@gnu.org; Fri, 11 Jun 2010 17:12:53 -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 1ONBX1-00014G-41 for grub-devel@gnu.org; Fri, 11 Jun 2010 21:12:51 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1ONBX0-0002TX-00; Fri, 11 Jun 2010 22:12:50 +0100 Date: Fri, 11 Jun 2010 22:12:50 +0100 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20100611211250.GK21862@riva.ucam.org> References: <20100608174656.GU21862@riva.ucam.org> <4C0E84E1.9040902@gmail.com> <20100608182649.GV21862@riva.ucam.org> <4C0FFA1E.4040403@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4C0FFA1E.4040403@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: Fri, 11 Jun 2010 21:12:55 -0000 On Wed, Jun 09, 2010 at 10:31:26PM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 06/08/2010 08:26 PM, Colin Watson wrote: > > 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. > > I think it's not worth it. At least FreeBSD when packaging GNU coreutils > add 'g' prefix to tools but didn't change the manuals. Perhaps we should > just leave both man pages and info manual as they are and let the distro > care if they have a different policy. I think this is probably fair enough for now. If it becomes a problem, I'm sure it won't be too hard to fix. I've gone ahead and committed this. Thanks, -- Colin Watson [cjwatson@ubuntu.com]