X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-docs.git;a=blobdiff_plain;f=Makefile.am;h=b059480414d249fb83516076a9117a20cec73c3a;hp=b16fdda1598bc4551fa27a03431ca3173a675b29;hb=1b2af6ce7aedce105572827d5cb7c84eb030f962;hpb=1e20e83e30b6c0aa420e2bbc937a6abdbcab1388 diff --git a/Makefile.am b/Makefile.am index b16fdda..b059480 100644 --- a/Makefile.am +++ b/Makefile.am @@ -240,6 +240,7 @@ 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 echo 'code { font-weight: bold }' >> `dirname $@`/doxygen.css %/html/parrot.png: parrot.png @@ -248,6 +249,7 @@ 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 %/latex/m17n-lib.dvi: %/latex/refman.tex styles/m17n-lib.sty utils/latex.sh utils/latex.sh `dirname $@` latex @@ -262,6 +264,7 @@ data/m17n-db.txt: @M17NDB@/m17n-db.in %/man/man1/m17n-config.1: doxyfile-man1.% ${MAN1} utils/%_filter.rb rm -rf `dirname $@` ${DOXYGEN} $< + cd `dirname $@`; rm _*.1 *.c.1 *.txt.1 %/man/man3/m17nIntro.3m17n: doxyfile-man3.% ${MAN3} utils/%_filter.rb rm -rf `dirname $@` @@ -292,7 +295,7 @@ man/man1/%: usr/man/man1/% sample/man3/SampleGroup.3 utils/mkman.rb man/man3/%: usr/man/man3/% sample/man3/SampleGroup.3 utils/mkman.rb $(mkinstalldirs) man/man3 rm -rf doxywork man/man3/* - ruby utils/mkman.rb 3m17n usr/man/man3 man/man3 + ruby utils/mkman.rb 3m17n usr/man/man3m17n man/man3 man/man5/%: usr/man/man5/% sample/man3/SampleGroup.3 utils/mkman.rb $(mkinstalldirs) man/man5 @@ -325,11 +328,11 @@ release: dist [ -d ${WEBDIR}/m17n-docs ] || mkdir ${WEBDIR}/m17n-docs [ -d ${WEBDIR}/download ] || mkdir ${WEBDIR}/download cd usr/html; for f in *; do \ - case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \ + case $$f in *8c*);; *8h*);; *8txt*);; dirs.html);; dir_*);; files.html);; *) cp $$f ${WEBDIR}/m17n-docs;; esac; \ done [ -d ${WEBDIR}-ja/m17n-docs ] || mkdir ${WEBDIR}-ja/m17n-docs cd ja/html; for f in *; do \ - case $$f in *8c*);; *8h*);; *8txt*);; *) cp $$f ${WEBDIR}-ja/m17n-docs;; esac; \ + case $$f in *8c*);; *8h*);; *8txt*);; dirs.html);; dir_*);; files.html);; *) cp $$f ${WEBDIR}-ja/m17n-docs;; esac; \ done cp ${distdir}.tar.gz ${WEBDIR}/download