X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/fc25afd0b3fbe47a9ded2978142dadafe52a989b..56e571b210beed5d9c91be6a6a191cf315cc0d59:/po/makefile

diff --git a/po/makefile b/po/makefile
index 28890e079..07dc51c07 100644
--- a/po/makefile
+++ b/po/makefile
@@ -65,11 +65,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; \
@@ -77,7 +77,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