Przeglądaj źródła

Add a stats target(hi joy).
Author: doogie
Date: 2003-02-09 23:44:30 GMT
Add a stats target(hi joy).

Arch Librarian 22 lat temu
rodzic
commit
1372a4a4c2
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      po/makefile

+ 3 - 0
po/makefile

@@ -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