On Wed, 3 Apr 2002 [EMAIL PROTECTED] wrote:

> Hello,
>
> I have updated the README file in the po directory, removing the obsolete
> stuff and reflecting the new procedure for a translator to merge po files
> at home.

You can replace this part:

+               make ./lyx.pot
+        msgmerge XX.po lyx.pot > no.pox
+                       (Use XX.pox as a temporary.)

with:

+       make XX.pox

Although, there is a small bug in the Makefile for that option and it
should have:

.po.pox:
-        $(MAKE) $(PACKAGE).pot
+        $(MAKE) $(srcdir)/$(PACKAGE).pot
        $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox

which I'll commit RSN.

Similarly:

+        msgfmt XX.pox
+        mv messages XX.gmo
+        mv XX.pox XX.po
+        rm XX.pox~
+                       (To remove Emacs autosave.)

should be the equivalent of:

        mv XX.pox XX.po
        rm -f XX.pox~
                       (To remove Emacs autosave.)
        make XX.gmo

I'm inclinded to add "*~" as a pattern for `make clean` to remove (and
maybe "*.bak" also) so the last chunk could be replaced with:

        mv XX.pox XX.po
        make XX.gmo clean

It'd be nice if the .po.gmo target would automatically do the mv above
if the corresponding XX.pox file existed.  Then our translators would
only have to remember two make commands and run emacs -- simplicity?

Allan. (ARRae)

Reply via email to