*** empty log message ***
[m17n/m17n-docs.git] / Makefile.am
index 4bc42e7..d9cab2c 100644 (file)
@@ -55,9 +55,9 @@ PROJECT_VERSION = @PACKAGE_VERSION@
 
 DOXYGEN = doxygen
 
-usr-html html-usr: usr/html/index.html
-ja-html html-ja: ja/html/index.html
-dev-html html-dev: dev/html/index.html
+usr-html html-usr: usr/html/index.html usr/html/parrot.gif
+ja-html html-ja: ja/html/index.html ja/html/parrot.gif
+dev-html html-dev: dev/html/index.html dev/html/parrot.gif
 
 usr-latex latex-usr: usr/latex/m17n-lib.ps
 ja-latex latex-ja: ja/latex/m17n-lib.ps
@@ -136,11 +136,15 @@ doxyfile-man.usr: doxyfile-man
            -e 's/%OUTPUT_LANGUAGE%/English/' \
          < $< >$@
 
-%/html/index.html: doxyfile-html.% ${SRCFILES} data-%/mainpage.txt data-%/dbformat.txt \
+%/html/index.html: doxyfile-html.% ${SRCFILES} \
+                       header.html footer.html \
+                       data-%/mainpage.txt data-%/dbformat.txt \
                        utils/%_filter.rb m17n-lib.css
        rm -rf `dirname $@`
        ${DOXYGEN} $<
-       cp smallmule.gif `dirname $@`
+
+%/html/parrot.gif: parrot.gif
+       cp $< $@
 
 %/latex/refman.tex: doxyfile-latex.% ${SRCFILES} data-%/mainpage.txt data-%/dbformat.txt \
                        utils/%_filter.rb
@@ -150,8 +154,6 @@ doxyfile-man.usr: doxyfile-man
 %/latex/m17n-lib.tex: %/latex/refman.tex utils/refman-filter.sed
        sed -f utils/refman-filter.sed < $< > $@
 
-.PRECIOUS: %/latex/m17n-lib.tex
-
 %/latex/m17n-lib.dvi: %/latex/m17n-lib.tex data-%/m17n-lib.sty utils/latex.sh
        utils/latex.sh `dirname $@` latex
 
@@ -194,16 +196,19 @@ ja/man3m/%.3m: ja/man/man3/%.3m sample-ja.c utils/mkman.rb
        ruby utils/mkman.rb ja
        rm -rf doxytemp sample
 
-CLEANFILES=doxyfile-*
+CLEANFILES=doxyfile-* *.tar.gz warning *~
 
 clean-local:
-       rm -rf usr dev ja
+       rm -rf usr dev ja doxywork
 
 WEBDIR = /project/web/extra/m17n-lib/m17n-docs
 
-web: dist
+web: $(pkgdata_DATA)
        [ -d ${WEBDIR} ] || mkdir ${WEBDIR}
+       [ -f ${distdir}.tar.gz ] || make dist
        cp ${distdir}.tar.gz ${WEBDIR}
        cp usr/html/* ${WEBDIR}
 
+.PRECIOUS: %/latex/m17n-lib.tex %/man/man3/m17nIntro.3m
+
 endif