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 e1d185e0..1ed7b9fe 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -30,10 +30,12 @@ clean:
$(PGOAL).pot: $(PL_FILES) $(CFILES)
perl_checker -q --generate-pot $(PGOAL).pot $(PL_FILES)
-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