]> git.saurik.com Git - apt.git/blobdiff - po/makefile
Add a stats target(hi joy).
[apt.git] / po / makefile
index abe8ffef646ecf857aae38d8c907218eb41ce219..a3d9d2d8f2707b4e9d812c3faba4abd555d007e5 100644 (file)
@@ -59,6 +59,9 @@ $(MOFILES) : $(PO_DOMAINS)/%.mo : $(PO_DOMAINS)/%.po
        mkdir -p $(LOCALE)/$(notdir $*)/LC_MESSAGES/
        cp $@ $(LOCALE)/$(notdir $*)/LC_MESSAGES/$(call GETDOMAIN,$*).mo
 
+stats:
+       for i in *.po; do echo -n "$$i: "; msgfmt --statistics $$i; done
+
 binary: $(POTFILES) $(PO)/$(PACKAGE)-all.pot $(MOFILES)
 
 clean: clean/local