From d74663673dffdeac2e2eec024982d36d41be2558 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 10 May 2007 11:11:12 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 4 ++++ LANGNAME.awk | 2 ++ Makefile.am | 2 ++ 3 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index b3e2893..4b17ee7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-05-10 Kenichi Handa + * mdb.dir: Add an entry for "LANGNAME.*". + + * .cvsignore: Add LANGUAGE.tbl, LANGNAME.en, and LANGNAME.fr. + * Makefile.am (pkgdata_DATA): Add ${LANGNAME}. (LANGNAME): New variable. (LANGUAGE.tbl, LANGNAME.en, LANGNAME.fr): New targets. diff --git a/LANGNAME.awk b/LANGNAME.awk index 8735540..aa31641 100644 --- a/LANGNAME.awk +++ b/LANGNAME.awk @@ -74,6 +74,8 @@ BEGIN { } print ";; Delete duplicated names after the above modifications."; print ""; + printf "(language name %s)\n", LANG; + print ""; } { diff --git a/Makefile.am b/Makefile.am index e332f84..6b73875 100644 --- a/Makefile.am +++ b/Makefile.am @@ -369,9 +369,11 @@ LANGUAGE.tbl: LANGUAGE.awk LANGDATA/ISO-639-2.txt LANGDATA/native.txt @$(AWK) -f LANGUAGE.awk '-F|' < LANGDATA/ISO-639-2.txt > $@ LANGNAME.en: LANGNAME.awk LANGDATA/ISO-639-2.txt + @echo "Generating $@..." @$(AWK) -f LANGNAME.awk -v LANG=en '-F|' < LANGDATA/ISO-639-2.txt > $@ LANGNAME.fr: LANGNAME.awk LANGDATA/ISO-639-2.txt + @echo "Generating $@..." @$(AWK) -f LANGNAME.awk -v LANG=fr '-F|' < LANGDATA/ISO-639-2.txt > $@ pkgdatadir=$(datadir)/m17n -- 1.7.10.4