From 66b5ba3534a4179b03da9c25636236bb036382f4 Mon Sep 17 00:00:00 2001 From: Christian Perrier Date: Mon, 9 Jan 2006 16:45:26 +0000 Subject: [PATCH] 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/ChangeLog | 5 +++++ po/makefile | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/po/ChangeLog b/po/ChangeLog index 5667827bc..78e8ae39d 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,8 @@ +2006-01-09 Thomas Huriaux + + * makefile: make update-po a pre-requisite of clean target so + that POT and PO files are always up-to-date + 2006-01-08 Daniel Nylander * sv.po: Completed to 511t. Closes: #346450 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 -- 2.45.2