pkgdata_DATA = \
usr/html/index.html \
usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
- man/man1/m17nconfig.1 \
+ man/man1/m17n-config.1 \
man/man3/m17nIntro.3m17n \
man/man5/mdbGeneral.5
-pkgdatadir = $(datadir)/m17n-lib
+pkgdatadir = $(datadir)/m17n/docs
EXTRA_DIST = usr/html usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \
man/man1 man/man3 man/man5
$(INSTALL_DATA) usr/latex/m17n-lib.dvi $(pkgdatadir)/m17n-lib.dvi
$(INSTALL_DATA) usr/latex/m17n-lib.ps $(pkgdatadir)/m17n-lib.ps
cd usr/html; \
- for f in *.html; do $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; done
- cd usr/html; \
- for f in *.png; do $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; done
+ for f in *.html *.png; do \
+ $(INSTALL_DATA) $$f $(pkgdatadir)/html/$$f; \
+ done
cd man/man1; \
for f in *.1; do $(INSTALL_DATA) $$f $(mandir)/man1/$$f; done
cd man/man3; \
@M17NLIB@/example/mimx-anthy.c \
@M17NLIB@/example/mimx-ispell.c
-EXAMPLE_MIMS = \
- @M17NLIB@/example/anthy.mim \
- @M17NLIB@/example/ispell.mim
-
DBFORMAT = \
@M17NDB@/FORMATS
@M17NLIB@/src/m17n.h \
@M17NLIB@/src/m17n-gui.h \
@M17NLIB@/src/m17n-X.h \
- @M17NLIB@/src/m17n-err.h \
+ @M17NLIB@/src/m17n-misc.h \
@M17NLIB@/src
MAN5 = ${DBFORMAT}
SRCALL = \
mainpage.txt \
${MAN3} \
- data/m17n-config.txt data/exprog.txt data/exmim.txt data/dbformat.txt \
- data/db-mim.txt data/db-flt.txt
-
-DB_MIM = $(shell echo @M17NDB@/*.mim)
+ data/m17n-config.txt data/exprog.txt data/dbformat.txt \
+ data/dbdata.txt fdl.txt
-DB_FLT = $(shell echo @M17NDB@/*.flt)
+DBDATA = $(shell echo @M17NDB@/*.{dir,mim,flt,fst,tbl})
HTML_USR_TARGET = usr/html/index.html usr/html/parrot.png
HTML_JA_TARGET = ja/html/index.html ja/html/parrot.png
ja-latex latex-ja: ${LATEX_JA_TARGET}
dev-latex latex-dev: ${LATEX_DEV_TARGET}
-MAN_USR_TARGET = man/man1/m17n-config.1 man/man3/m17nIntro.3m17n man/man5/m17nDBgeneral.5
-MAN_JA_TARGET = man/ja/man1/m17n-config.1 man/ja/man3/m17nIntro.3m17n man/ja/man5/m17nDatabaseFormat.5
+MAN_USR_TARGET = man/man1/m17n-config.1 man/man3/m17nIntro.3m17n man/man5/mdbGeneral.5
+MAN_JA_TARGET = man/ja/man1/m17n-config.1 man/ja/man3/m17nIntro.3m17n man/ja/man5/mdbGeneral.5
MAN_TARGET = ${MAN_USR_TARGET} ${MAN_JA_TARGET}
usr-man man-usr: ${MAN_USR_TARGET}
latex: usr-latex ja-latex dev-latex
man: usr-man ja-man
-doxyfile-html: doxyfile
+doxyfile-html: doxyfile Makefile
sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
-e 's|%INPUT%|${SRCALL}|' \
-e 's|%GENERATE_HTML%|YES|' \
data/exprog.txt: ${EXAMPLE_PROGS} utils/exprog.sh
utils/exprog.sh ${EXAMPLE_PROGS} > $@
-data/exmim.txt: ${EXAMPLE_MIMS} utils/exmim.sh
- utils/exmim.sh ${EXAMPLE_MIMS} > $@
-
-data/db-mim.txt: ${DB_MIM} utils/db-mim.sh
- utils/db-mim.sh ${DB_MIM} > $@
-
-data/db-flt.txt: ${DB_FLT} utils/db-flt.sh
- utils/db-flt.sh ${DB_FLT} > $@
+data/dbdata.txt: ${DBDATA} @M17NDB@/mdb.dir utils/dbdata.awk
+ @AWK@ -f utils/dbdata.awk @M17NDB@/mdb.dir > $@
data/dbformat.txt: ${DBFORMAT} utils/dbformat.sh
utils/dbformat.sh ${DBFORMAT}/*.txt > $@
rm -rf `dirname $@`
${DOXYGEN} $<
-%/man/man5/m17nDBgeneral.5: doxyfile-man5.% ${MAN5} utils/%_filter.rb
+%/man/man5/mdbGeneral.5: doxyfile-man5.% ${MAN5} utils/%_filter.rb
rm -rf `dirname $@`
${DOXYGEN} $<