summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-02 07:07:44 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-02 07:07:44 +0000
commitcb7b65511ce6860c18fd892e49310d08fe1aca3a (patch)
treea888dafd2fd60f468e0ee8476588c65f56cd7455 /po
parent3fdd4043ae763fdc524735a3643b8b94c1aba41a (diff)
downloadanaconda-cb7b65511ce6860c18fd892e49310d08fe1aca3a.tar.gz
anaconda-cb7b65511ce6860c18fd892e49310d08fe1aca3a.tar.xz
anaconda-cb7b65511ce6860c18fd892e49310d08fe1aca3a.zip
back to not specifying anaconda explicitly, soxgettext thinks its C. otherwise, we need to msgcat and it starts getting unhappy with a raw pot file
Diffstat (limited to 'po')
-rw-r--r--po/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/po/Makefile b/po/Makefile
index 6706ab77a..60742947c 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -11,7 +11,7 @@ NLSPACKAGE = anaconda
POS = $(wildcard *.po)
FMTCATALOGS = $(patsubst %.po,%.mo,$(POS))
-POTFILES = ../*.py ../iw/*.py ../textw/*.py \
+POTFILES = ../anaconda ../*.py ../iw/*.py ../textw/*.py \
../installclasses/*.py \
../loader/*.c
@@ -21,11 +21,9 @@ NONPOTFILES = /usr/share/zoneinfo/zone.tab \
all: $(FMTCATALOGS)
-$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES) ../anaconda
+$(NLSPACKAGE).pot: $(POTFILES) $(NONPOTFILES)
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 -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 \