grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] manpages for everything


From: Jordi Mallach
Subject: Re: [PATCH] manpages for everything
Date: Sat, 9 Feb 2008 14:16:10 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

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:
address@hidden:~$ 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.

> Btw, what will we need when we support l10n in those utils' --help output?  
> LANG=C
> for English manpages, plus some logic to enable each other supported 
> language?  Do
> we have to take something into account right now?

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".

This, if we want to go with autogenerated manpages forever. If we'd use
the autogenerated manpages as a base for manually maintained manpages,
then we would use "po4a" to maintain translations of the original
documents.

Jordi
-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
address@hidden     address@hidden     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]