aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
Diffstat (limited to 'po')
-rw-r--r--po/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile
index 5fca51f..f9d5721 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -38,10 +38,12 @@ $(PGOAL).pot: POTFILES.in $(PL_FILES) $(CFILES)
[ ! -e $(PGOAL)_tmp.pot ] || msgcat --use-first placeholder.pot $(PGOAL)_tmp.pot > $@
rm -f placeholder.pot $(PGOAL)_tmp.pot
-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