From 29628967c993d75db73a235e4fb1d4faaa028f9f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 29 Dec 2005 17:08:45 +0000 Subject: * add " " in update-po --- po/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'po/makefile') diff --git a/po/makefile b/po/makefile index 6ad6997c0..64573ceae 100644 --- a/po/makefile +++ b/po/makefile @@ -66,7 +66,7 @@ binary: $(POTFILES) $(PACKAGE)-all.pot $(MOFILES) update-po .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; \ -- cgit v1.2.3 From 66b5ba3534a4179b03da9c25636236bb036382f4 Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Mon, 9 Jan 2006 16:45:26 +0000 Subject: Better makefile for more up-to-date PO and POT * po/makefile: make update-po a pre-requisite of clean target so that POT and PO files are always up-to-date --- po/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'po/makefile') diff --git a/po/makefile b/po/makefile index 64573ceae..45e5b1e5a 100644 --- a/po/makefile +++ b/po/makefile @@ -62,7 +62,7 @@ $(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 @@ -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 -- cgit v1.2.3