Add a stats target(hi joy).
authorArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:40 +0000 (17:00 +0000)
committerArch Librarian <arch@canonical.com>
Mon, 20 Sep 2004 17:00:40 +0000 (17:00 +0000)
Author: doogie
Date: 2003-02-09 23:44:30 GMT
Add a stats target(hi joy).

po/makefile

index abe8ffe..a3d9d2d 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