Fix update-po target to call msgmerge with right parameters
PATCH 1/1 Fix update-po target to call msgmerge with right parameters
Add accidentally forgotten semicolon at the end of msgmerge command line
--- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
@@ -113,7 +113,7 @@ ALL_MSGFILES = $(subst .po,.msg,$(ALL_POFILES)) $(PO_TEMPLATE): $(SCRIPT_SH) $(ALL_LIBFILES) $(XGETTEXT) -kmc -LTcl -o $@ $(SCRIPT_SH) $(ALL_LIBFILES) update-po:: $(PO_TEMPLATE) - $(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ) + $(foreach p, $(ALL_POFILES), echo Updating $p ; msgmerge -U $p $(PO_TEMPLATE) ; ) $(ALL_MSGFILES): %.msg : %.po @echo Generating catalog $@ msgfmt --statistics --tcl $< -l $(basename $(notdir $<)) -d $(dir $@)
Signature · 1 line
1.5.3.rc2.37.g67fa
Hi,
Quoted 1 line · Alex Riesen
Add accidentally forgotten semicolon at the end of msgmerge command line
Good catch!
I did a "make update-po" to test before and after your patch. There seem to be some changes, but the worst part of it: update-po rewrites almost the whole file! The .po files contain the line numbers where the message was found, and they often change.
Oh, well. I'll probably write some alias to see what _actually_ changed (probably just ignoring ^#)...
Ciao,
Dscho