summaryrefslogtreecommitdiff
path: root/po/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/makefile')
-rw-r--r--po/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/po/makefile b/po/makefile
index 6ad6997c0..45e5b1e5a 100644
--- a/po/makefile
+++ b/po/makefile
@@ -62,11 +62,11 @@ $(MOFILES) : $(PO_DOMAINS)/%.mo : $(PO_DOMAINS)/%.po
stats:
for i in *.pot *.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
-binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES) update-po
+binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES)
.PHONY: update-po
update-po: $(PACKAGE)-all.pot
- for lang in ${LINGUAS}; do\
+ for lang in ${LINGUAS}; do \
echo "Updating $$lang.po"; \
$(MSGMERGE) $$lang.po $(PACKAGE)-all.pot -o $$lang.new.po; \
cmp $$lang.new.po $$lang.po || cp $$lang.new.po $$lang.po; \
@@ -74,7 +74,7 @@ update-po: $(PACKAGE)-all.pot
done
clean: clean/local
-clean/local:
+clean/local: update-po
rm -f $(MOFILES) $(LANG_POFILES) $(PO)/*.d
# Include the dependencies that are available