summaryrefslogtreecommitdiff
path: root/po/makefile
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 /po/makefile
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
Diffstat (limited to 'po/makefile')
-rw-r--r--po/makefile4
1 files changed, 2 insertions, 2 deletions
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