summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Perrier <bubulle@debian.org>2006-01-09 16:45:26 +0000
committerChristian Perrier <bubulle@debian.org>2006-01-09 16:45:26 +0000
commit66b5ba3534a4179b03da9c25636236bb036382f4 (patch)
tree2a1821a6c8d638be25d2527215d574108c2e528e
parent5e23ece26e164df31df64941152001ce0a544a39 (diff)
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
-rw-r--r--po/ChangeLog5
-rw-r--r--po/makefile4
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 <thomas.huriaux@gmail.com>
+
+ * 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 <yeager@lidkoping.net>
* 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