summaryrefslogtreecommitdiffstats
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 cf94c58..f679b1a 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -12,10 +12,12 @@ all: $(NAME).pot $(POFILES) $(MOFILES)
%.mo: %.po
msgfmt -o $@ $<
-merge: $(NAME).pot
+update_n_merge: $(NAME).pot merge
+
+merge:
@for n in $(MERGE_POFILES); do \
echo "Merging $$n"; \
- msgmerge "$$n" $< > "$$n"t; \
+ msgmerge "$$n" $(NAME).pot > "$$n"t; \
mv -f "$$n"t "$$n"; \
done