summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 10:42:11 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 10:42:11 +0000
commit163a33ac4d066fd929f1c64e1a079cd1b9b01302 (patch)
treec3fe55332cc38132c4eb77aa36b6701993f09090 /po/Makefile
parentb1c1355515da02f4b0620080dd6f82f43ca35a75 (diff)
downloadurpmi-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
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile6
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