.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; \
done
clean: clean/local
-clean/local:
+clean/local: update-po
rm -f $(MOFILES) $(LANG_POFILES) $(PO)/*.d
# Include the dependencies that are available