From: handa Date: Thu, 10 May 2007 11:11:12 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: REL-1-4-0~98 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d74663673dffdeac2e2eec024982d36d41be2558;p=m17n%2Fm17n-db.git *** empty log message *** --- 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