[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding address@hidden fails
From: |
Simon Josefsson |
Subject: |
Re: Adding address@hidden fails |
Date: |
Fri, 16 Jan 2004 15:59:43 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> I added those two names to LINGUAS, did a cvsco and re-ran autoreconf
>> and configure and make. But it doesn't work:
>>
>> address@hidden:~/src/gss$ make
>> make all-recursive
>> make[1]: Entering directory `/home/jas/src/gss'
>> Making all in po
>> make[2]: Entering directory `/home/jas/src/gss/po'
>> test -z "address@hidden address@hidden sv.gmo" || make address@hidden
>> address@hidden sv.gmo make[3]: Entering directory `/home/jas/src/gss/po'
>> /usr/bin/msgmerge --update address@hidden gss.pot
>> /usr/bin/msgmerge: error while opening "address@hidden" for reading: No such
>> file or directory make[3]: *** address@hidden Error 1
>
> The gettext manual, section "CVS issues", says
>
> the maintainer can omit from the CVS
> repository all the files that `gettextize' mentions as "copy".
> Instead, he adds to the `configure.in' or `configure.ac' a line of the
> form
>
> AM_GNU_GETTEXT_VERSION(0.13.1)
This is what I do.
> You are apparently taking a slightly different approach, by not putting
> address@hidden into the CVS repository.
But address@hidden does not exist?
> A simple 'autoreconf' or 'autopoint' invocation is therefore not
> enough; you also need to restore the omitted file yourself:
>
> $ cd .../po
> $ make address@hidden address@hidden
Ah, thanks, I didn't know about those rules. Are they documented
somewhere?
The manual says:
,----
| These extra message catalogs address@hidden' and address@hidden' are
| constructed automatically, not by translators; to support them, you
| need the files `Rules-quot', `quot.sed', `boldquot.sed',
| address@hidden', address@hidden', `insert-header.sin' in the
| `po/' directory. You can copy them from GNU gettext's `po/' directory;
| they are also installed by running `gettextize'.
`----
If the message catalogs are not constructed automatically, I think it
would be useful to mention those make rules in that section.
IMHO, building the address@hidden files automatically would be simpler. If
the files are truly generated, I would not want them in CVS.
Requiring developers to invoke the above 'make' command manually
requires documentation in a README.CVS or similar, and all such steps
create a maintenance burden, so I'll only put real translations in
LINGUAS for now.