From: handa Date: Tue, 17 Feb 2009 07:49:35 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=3c49cd52cce72257451fe7183fd0158337e6fb38;p=m17n%2Fm17n-docs.git *** empty log message *** --- diff --git a/.cvsignore b/.cvsignore index 8fac2e0..b63dc59 100644 --- a/.cvsignore +++ b/.cvsignore @@ -13,4 +13,5 @@ dev ja warning *.tar.gz - +data +temp diff --git a/Makefile.am b/Makefile.am index bdc7b6a..d432aa1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -95,7 +95,7 @@ SRCALL = \ data/m17n-config.txt data/m17n-db.txt data/exprog.txt \ data/dbformat.txt data/dbdata.txt data/dbtutorial.txt fdl.txt -DBDATA = $(shell echo @M17NDB@/*.{dir,fst,tbl} @M17NDB@/MIM/*.mim @M17NDB@/FLT/*.flt @M17NDB@/LANGDATA/LANGUAGE.tbl) +DBDATA = $(shell echo @M17NDB@/*.{fst,tbl} @M17NDB@/MIM/*.mimx @M17NDB@/FLT/*.flt @M17NDB@/LANGDATA/LANGUAGE.tbl) DBIMAGE = $(shell echo images/*.png images/*.eps) HTML_USR_TARGET = usr/html/index.html usr/html/parrot.png @@ -264,9 +264,9 @@ doxyfile-man%.usr: doxyfile-man% data/exprog.txt: ${EXAMPLE_PROGS} utils/exprog.sh utils/exprog.sh ${EXAMPLE_PROGS} > $@ -data/dbdata.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.dir utils/dbdata.awk utils/dbdata.sh utils/imdoc.c - (cd utils; make) - @AWK@ -f utils/dbdata.awk @M17NDB@/mdb.dir > $@ +data/dbdata.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.xml utils/expand-mdb.awk + SEDFILE=`pwd`/utils/expand-mdb.sed; \ + @AWK@ -v SEDFILE=$$SEDFILE -v M17NDB=@M17NDB@ -f utils/expand-mdb.awk @M17NDB@/mdb.xml > data/expanded-mdb.xml data/dbformat.txt: ${DBFORMAT} utils/dbformat.sh utils/dbformat.sh ${DBFORMAT} > $@