diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-14 10:42:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-14 10:42:11 +0000 |
commit | 163a33ac4d066fd929f1c64e1a079cd1b9b01302 (patch) | |
tree | c3fe55332cc38132c4eb77aa36b6701993f09090 | |
parent | b1c1355515da02f4b0620080dd6f82f43ca35a75 (diff) | |
download | urpmi-163a33ac4d066fd929f1c64e1a079cd1b9b01302.tar urpmi-163a33ac4d066fd929f1c64e1a079cd1b9b01302.tar.gz urpmi-163a33ac4d066fd929f1c64e1a079cd1b9b01302.tar.bz2 urpmi-163a33ac4d066fd929f1c64e1a079cd1b9b01302.tar.xz urpmi-163a33ac4d066fd929f1c64e1a079cd1b9b01302.zip |
(update_n_merge) split it out of (merge) ; now (merge) only update po w/o updating main pot file
-rw-r--r-- | po/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile index 1ee83130..717791b9 100644 --- a/po/Makefile +++ b/po/Makefile @@ -21,10 +21,12 @@ all: $(GOALS) %.mo: %.po msgfmt -o $@ $< -merge: $(PGOAL).pot +update_n_merge: $(PGOAL).pot merge + +merge: @for n in $(POFILES); do \ echo "Merging $$n"; \ - msgmerge "$$n" $< > "$$n"t; \ + msgmerge "$$n" $(PGOAL).pot > "$$n"t; \ mv -f "$$n"t "$$n"; \ done |