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
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
# 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
/***en @page m17nDBFormat Data format of the m17n database
This section describes formats of these data supplied by the m17n
-database. */
+database.
+<ul>
+EOF
+
+for f in $*; do
+ case $f in
+ *.ja.txt) ;;
+ *) cat $f | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/<li> @ref mdb\1 "\1" --/';;
+ esac
+done
+
+cat <<EOF
+</ul>
+*/
+EOF
+
+cat <<EOF
/***ja @page m17nDBFormat M17N ¥Ç¡¼¥¿¥Ù¡¼¥¹¤Î¥Ç¡¼¥¿¡¦¥Õ¥©¡¼¥Þ¥Ã¥È
¤³¤³¤Ç¤Ï¡¢M17N ¥Ç¡¼¥¿¥Ù¡¼¥¹¤ÇÄ󶡤µ¤ì¤ë³Æ¥Ç¡¼¥¿¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤ò²òÀ⤹
-¤ë¡£ */
+¤ë¡£
-/***
<ul>
EOF
-cat $* | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/<li> @ref mdb\1 "\1" --/'
+for f in $*; do
+ case $f in
+ *.ja.txt) cat $f | grep '@page' | sed -e 's/@page mdb\([^ ]*\)/<li> @ref mdb\1 "\1" --/';;
+ *) ;;
+ esac
+done
cat <<EOF
</ul>