aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9e73890..f92efd2 100644
--- a/Makefile
+++ b/Makefile
@@ -145,7 +145,11 @@ update-po: $(foreach L,$(LOCALES),po/$(L).po)
po/%.po: obj/scrotty.pot
@mkdir -p po
- if ! test -e $@; then cp $< $@; else msgmerge -U $@ $<; fi
+ if ! test -e $@; then \
+ msginit --no-translator --no-wrap -i $< -o $@ -l $*; \
+ else \
+ msgmerge --no-wrap -U $@ $<; \
+ fi
.PHONY: install