X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-docs.git;a=blobdiff_plain;f=Makefile.am;h=735afdcf248386d730ee3e6be4ef4240c6c882c1;hp=b059480414d249fb83516076a9117a20cec73c3a;hb=26da46c8e150370680a7c07f24d8142f514bdac1;hpb=1b2af6ce7aedce105572827d5cb7c84eb030f962 diff --git a/Makefile.am b/Makefile.am index b059480..735afdc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,8 @@ ## Process this file with Automake to create Makefile.in +SUBDIRS = utils + pkgdata_DATA = \ usr/html/index.html \ usr/latex/m17n-lib.dvi usr/latex/m17n-lib.ps \ @@ -93,7 +95,7 @@ SRCALL = \ data/dbformat.txt data/dbdata.txt fdl.txt DBDATA = $(shell echo @M17NDB@/*.{dir,mim,flt,fst,tbl}) -DBIMAGE = $(shell echo @M17NDB@/FORMATS/*.png @M17NDB@/FORMATS/*.eps) +DBIMAGE = $(shell echo images/*.png images/*.eps) HTML_USR_TARGET = usr/html/index.html usr/html/parrot.png HTML_JA_TARGET = ja/html/index.html ja/html/parrot.png @@ -224,7 +226,8 @@ 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 +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/dbformat.txt: ${DBFORMAT} utils/dbformat.sh @@ -240,7 +243,8 @@ data/m17n-db.txt: @M17NDB@/m17n-db.in utils/%_filter.rb m17n-lib.css rm -f `dirname $@`/*.html ${DOXYGEN} $< - cd `dirname $@`; rm *_8c* *_8h* *_8txt* dirs.html dir_* files.html + cp images/icon-*.png `dirname $@` + cd `dirname $@`; rm -f *_8c* *_8h* *_8txt* dirs.html dir_* files.html echo 'code { font-weight: bold }' >> `dirname $@`/doxygen.css %/html/parrot.png: parrot.png @@ -249,10 +253,10 @@ data/m17n-db.txt: @M17NDB@/m17n-db.in %/latex/refman.tex: doxyfile-latex.% ${SRCALL} utils/%_filter.rb rm -rf `dirname $@` ${DOXYGEN} $< - cd `dirname $@`; rm *_8c* *_8h* *_8txt* dirs.tex dir_* files.tex + cd `dirname $@`; rm -f *_8c* *_8h* *_8txt* dirs.tex dir_* files.tex %/latex/m17n-lib.dvi: %/latex/refman.tex styles/m17n-lib.sty utils/latex.sh - utils/latex.sh `dirname $@` latex + -utils/latex.sh `dirname $@` latex %/latex/m17n-lib.ps: %/latex/m17n-lib.dvi utils/dvips.sh utils/dvips.sh `dirname $@` dvips @@ -263,8 +267,9 @@ data/m17n-db.txt: @M17NDB@/m17n-db.in %/man/man1/m17n-config.1: doxyfile-man1.% ${MAN1} utils/%_filter.rb rm -rf `dirname $@` + cp doxyfile-man1.usr temp ${DOXYGEN} $< - cd `dirname $@`; rm _*.1 *.c.1 *.txt.1 + cd `dirname $@`; rm -f _*.1 *.c.1 *.txt.1 %/man/man3/m17nIntro.3m17n: doxyfile-man3.% ${MAN3} utils/%_filter.rb rm -rf `dirname $@`