From: handa Date: Wed, 28 Apr 2004 02:19:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: XML-base~64 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c50902bbcb1850692e1316fe53756e3d8bb5f208;p=m17n%2Fm17n-docs.git *** empty log message *** --- diff --git a/Makefile.am b/Makefile.am index 2193561..d9672d3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -92,6 +92,7 @@ SRCALL = \ data/dbdata.txt fdl.txt DBDATA = $(shell echo @M17NDB@/*.{dir,mim,flt,fst,tbl}) +DBIMAGE = $(shell echo @M17NDB@/FORMATS/*.png) HTML_USR_TARGET = usr/html/index.html usr/html/parrot.png HTML_JA_TARGET = ja/html/index.html ja/html/parrot.png @@ -221,7 +222,7 @@ doxyfile-man%.usr: doxyfile-man% data/exprog.txt: ${EXAMPLE_PROGS} utils/exprog.sh utils/exprog.sh ${EXAMPLE_PROGS} > $@ -data/dbdata.txt: ${DBDATA} @M17NDB@/mdb.dir utils/dbdata.awk +data/dbdata.txt: ${DBDATA} ${DBIMAGE} @M17NDB@/mdb.dir utils/dbdata.awk @AWK@ -f utils/dbdata.awk @M17NDB@/mdb.dir > $@ data/dbformat.txt: ${DBFORMAT} utils/dbformat.sh diff --git a/doxyfile b/doxyfile index baddd60..8b75442 100644 --- a/doxyfile +++ b/doxyfile @@ -354,6 +354,7 @@ EXAMPLE_PATTERNS = # the \image command). IMAGE_PATH = /project/mule/m17n-lib/docs/doxygen/images +IMAGE_PATH += ../m17n-db/FORMATS # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program diff --git a/utils/dbdata.sh b/utils/dbdata.sh index 22363c8..4cce38f 100755 --- a/utils/dbdata.sh +++ b/utils/dbdata.sh @@ -111,6 +111,3 @@ EOF # Local Variables: # coding: euc-jp # End: - - - diff --git a/utils/dbformat.sh b/utils/dbformat.sh index 9d9f7e0..5091ca1 100755 --- a/utils/dbformat.sh +++ b/utils/dbformat.sh @@ -4,18 +4,38 @@ cat < +EOF + +for f in $*; do + case $f in + *.ja.txt) ;; + *) cat $f | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/
  • @ref mdb\1 "\1" --/';; + esac +done + +cat < +*/ +EOF + +cat < EOF -cat $* | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/
  • @ref mdb\1 "\1" --/' +for f in $*; do + case $f in + *.ja.txt) cat $f | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/
  • @ref mdb\1 "\1" --/';; + *) ;; + esac +done cat <