summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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