summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
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