From ea32c5c1c6b84a02d8238e4ee38c42e9fcd1e7e7 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 13 Mar 2001 20:30:15 +0000 Subject: update initscripts.pot with current tree, run make refresh-po --- po/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'po/Makefile') 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 -- cgit v1.2.1