From 6b2ab5597f8c5bfbe41dcfe21c43550c3b7b18bd Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 2 Aug 2002 06:46:12 +0000 Subject: explicitly list anaconda and tell xgettext that it's a python file --- po/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index 137a7c794..6d4b645a3 100644 --- a/po/Makefile +++ b/po/Makefile @@ -11,7 +11,7 @@ NLSPACKAGE = anaconda POS = $(wildcard *.po) FMTCATALOGS = $(patsubst %.po,%.mo,$(POS)) -POTFILES = ../anaconda ../*.py ../iw/*.py ../textw/*.py \ +POTFILES = ../*.py ../iw/*.py ../textw/*.py \ ../installclasses/*.py \ ../loader/*.c @@ -21,9 +21,11 @@ NONPOTFILES = /usr/share/zoneinfo/zone.tab \ all: $(FMTCATALOGS) -$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES) +$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES) ../anaconda xgettext --default-domain=$(NLSPACKAGE) \ --keyword=_ --keyword=N_ $(POTFILES) + xgettext --default-domain=$(NLSPACKAGE) \ + --keyword=_ --keyword=N_ --language=Python ../anaconda cat /usr/share/zoneinfo/zone.tab | cut -f4 | grep "^[a-zA-Z]" | sort | uniq -u | while read line; do echo -e "\n#. generated from zone.tab\nmsgid \"$$line\"\nmsgstr \"\""; done >> $(NLSPACKAGE).po cat ../lang-table | cut -f1 | while read line; do echo -e "\n#. generated from lang-table\nmsgid \"$$line\"\nmsgstr \"\""; done >> $(NLSPACKAGE).po if cmp -s $(NLSPACKAGE).po $(NLSPACKAGE).pot; then \ -- cgit