diff options
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/po/Makefile b/po/Makefile index f8fbf25f..ff6927ff 100644 --- a/po/Makefile +++ b/po/Makefile @@ -10,12 +10,12 @@ NLSPACKAGE = initscripts CATALOGS = $(shell ls *.po) FMTCATALOGS = $(patsubst %.po,%.mo,$(CATALOGS)) -POTFILES = ../rc.d/init.d/* ../rc.d/rc.* ../sysconfig/network-scripts/* +POTFILES = /etc/rc.d/init.d/* /etc/rc.d/rc.* /etc/sysconfig/network-scripts/* all: $(NLSPACKAGE).pot $(FMTCATALOGS) $(NLSPACKAGE).pot: $(POTFILES) - @echo "Please don't do that." + @echo "Please don't run 'make initscripts.pot unless you have a *FULL*, current install." #./xgettext_sh.py $(POTFILES) > $(NLSPACKAGE).po #if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \ @@ -52,6 +52,12 @@ refresh-po: Makefile fi \ done +report: + @for cat in $(CATALOGS); do \ + echo -n "$$cat: "; \ + msgfmt -v --statistics -o /dev/null $$cat; \ + done + clean: rm -f *mo $(NLSPACKAGE).pot *.pyc |