From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JNs9C-0006v0-N8 for mharc-grub-devel@gnu.org; Sat, 09 Feb 2008 11:01:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JNs9B-0006t1-5s for grub-devel@gnu.org; Sat, 09 Feb 2008 11:01:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JNs99-0006oH-48 for grub-devel@gnu.org; Sat, 09 Feb 2008 11:01:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JNs98-0006nu-Rw for grub-devel@gnu.org; Sat, 09 Feb 2008 11:01:42 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JNs98-000738-He for grub-devel@gnu.org; Sat, 09 Feb 2008 11:01:42 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JNs96-0000uh-Vo for grub-devel@gnu.org; Sat, 09 Feb 2008 17:01:41 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JNs7Z-00051H-Ax for grub-devel@gnu.org; Sat, 09 Feb 2008 17:00:05 +0100 Date: Sat, 9 Feb 2008 17:00:05 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080209160005.GA19212@thorin> References: <20080208212900.GA30078@thorin> <20080209001716.GA19605@thorin> <20080209030205.GA12545@nubol.oskuro.net> <20080209103042.GB20685@thorin> <20080209131610.GA26503@nubol.oskuro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080209131610.GA26503@nubol.oskuro.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] manpages for everything X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 16:01:45 -0000 On Sat, Feb 09, 2008 at 02:16:10PM +0100, Jordi Mallach wrote: > On Sat, Feb 09, 2008 at 11:30:42AM +0100, Robert Millan wrote: > > > desc=`$prefix/bin/$program --help | sed -n '2s/.*-- //p'` > > > $help2man -N -i debian/mangen.inc -s 1 -S FSF -n "$desc" $prefix/bin/$program >$program.1 > > Do we need $desc/-n ? It looks like a workaround for a limitation in help2man > > (or for some oddness in mailutils output). > > If I remember correctly, the default description in help2man manpages is > a generic one, not useful at all. > > readmsg --help gives me: > jordi@nubol:~$ readmsg --help > Forma d'ús: readmsg [OPCIÓ...] > GNU readmsg -- mostra missatges > > I extract the "show messages part" from this and use it as the > description. > > I now found a bug report: #368628. In short, I think we need this here > too. I see. Well, I didn't do the $dest part this time since I'm short in time atm. :-/ > Not for now. When we do have utils translations, the tricky part will be > assuring the --help output is translated, or it'll be of little use, or > will be half in English, half translated, etc. So we'd have to make some > kind of rule, like "only generate l10n'd manpages if the po is up to > date and 100% translated". Ok. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.)