-usr-html html-usr: usr/html/index.html
-ja-html html-ja: ja/html/index.html
-dev-html html-dev: dev/html/index.html
+EXAMPLE_PROGS = \
+ @M17NLIB@/example/mconv.c \
+ @M17NLIB@/example/mview.c \
+ @M17NLIB@/example/mdate.c \
+ @M17NLIB@/example/mdump.c \
+ @M17NLIB@/example/medit.c \
+ @M17NLIB@/example/mimx-anthy.c \
+ @M17NLIB@/example/mimx-ispell.c
+
+DBFORMAT = \
+ @M17NDB@/FORMATS
+
+MAN1 = data/m17n-config.txt data/m17n-db.txt ${EXAMPLE_PROGS}
+
+MAN3 = @M17NLIB@/src/m17n-core.h \
+ @M17NLIB@/src/m17n.h \
+ @M17NLIB@/src/m17n-flt.h \
+ @M17NLIB@/src/m17n-gui.h \
+ @M17NLIB@/src/m17n-X.h \
+ @M17NLIB@/src/m17n-misc.h \
+ @M17NLIB@/src
+
+MAN5 = ${DBFORMAT}
+
+SRCALL = \
+ mainpage.txt \
+ ${MAN3} \
+ 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)
+DBIMAGE = $(shell echo images/*.png images/*.eps)