summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-14 10:59:59 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-14 10:59:59 +0000
commitfba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9 (patch)
treec600fca382789671fdd9c2f58145641ea14d482c
parent71ad840a6eb8e1e695a96c57e34c1e2c3ae5803a (diff)
downloaddrakwizard-fba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9.tar
drakwizard-fba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9.tar.gz
drakwizard-fba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9.tar.bz2
drakwizard-fba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9.tar.xz
drakwizard-fba5a20d871eb0bf9e30a7196d0f60b9d7bdf9e9.zip
(update_n_merge) split it out of (merge) ; now (merge) only update po w/o updating main pot file
-rw-r--r--po/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index adbcde13..986bdce2 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -15,10 +15,12 @@ all: $(PGOAL).pot $(MOFILES)
%.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