*** empty log message ***
[m17n/m17n-docs.git] / Makefile.am
index 73fb567..6d04720 100644 (file)
@@ -128,12 +128,13 @@ html: usr-html ja-html dev-html
 latex: usr-latex ja-latex dev-latex
 man: usr-man ja-man
 
-doxyfile-html: doxyfile Makefile
+doxyfile-html: doxyfile ${SRCALL}
        sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
            -e 's|%INPUT%|${SRCALL}|' \
            -e 's|%GENERATE_HTML%|YES|' \
            -e 's|%GENERATE_LATEX%|NO|' \
            -e 's|%GENERATE_MAN%|NO|' \
+           -e 's|%ENABLED_SECTIONS%|FOR-HTML|' \
          < $< >$@
 
 doxyfile-html.usr: doxyfile-html
@@ -154,12 +155,13 @@ doxyfile-html.ja: doxyfile-html
            -e 's/%OUTPUT_LANGUAGE%/Japanese/' \
          < $< >$@
 
-doxyfile-latex: doxyfile
+doxyfile-latex: doxyfile ${SRCALL}
        sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
            -e 's|%INPUT%|${SRCALL}|' \
            -e 's|%GENERATE_HTML%|NO|' \
            -e 's|%GENERATE_LATEX%|YES|' \
            -e 's|%GENERATE_MAN%|NO|' \
+           -e 's|%ENABLED_SECTIONS%|FOR-LATEX|' \
          < $< >$@
 
 doxyfile-latex.usr: doxyfile-latex
@@ -180,31 +182,34 @@ doxyfile-latex.ja: doxyfile-latex
            -e 's/%OUTPUT_LANGUAGE%/Japanese/' \
          < $< >$@
 
-doxyfile-man1: doxyfile
+doxyfile-man1: doxyfile ${SRCALL}
        sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
            -e 's|%INPUT%|${MAN1}|' \
            -e 's|%GENERATE_HTML%|NO|' \
            -e 's|%GENERATE_LATEX%|NO|' \
            -e 's|%GENERATE_MAN%|YES|' \
            -e 's|%MAN_EXTENSION%|.1|' \
+           -e 's|%ENABLED_SECTIONS%|FOR-MAN|' \
          < $< >$@
 
-doxyfile-man3: doxyfile
+doxyfile-man3: doxyfile ${SRCALL}
        sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
            -e 's|%INPUT%|${MAN3}|' \
            -e 's|%GENERATE_HTML%|NO|' \
            -e 's|%GENERATE_LATEX%|NO|' \
            -e 's|%GENERATE_MAN%|YES|' \
            -e 's|%MAN_EXTENSION%|.3m17n|' \
+           -e 's|%ENABLED_SECTIONS%|FOR-MAN|' \
          < $< >$@
 
-doxyfile-man5: doxyfile
+doxyfile-man5: doxyfile ${SRCALL}
        sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \
            -e 's|%INPUT%|${MAN5}|' \
            -e 's|%GENERATE_HTML%|NO|' \
            -e 's|%GENERATE_LATEX%|NO|' \
            -e 's|%GENERATE_MAN%|YES|' \
            -e 's|%MAN_EXTENSION%|.5|' \
+           -e 's|%ENABLED_SECTIONS%|FOR-MAN|' \
          < $< >$@
 
 doxyfile-man%.usr: doxyfile-man%
@@ -309,12 +314,11 @@ clean-local:
        rm -rf usr dev ja man doxywork
 
 WEBDIR = /project/web/extra/m17n-lib/m17n-docs
-FTPDIR = /ftp/pub/m17n-lib
 
 release: dist
        [ -d ${WEBDIR} ] || mkdir ${WEBDIR}
-       cp usr/html/* ${WEBDIR}
-       cp ${distdir}.tar.gz ${FTPDIR}
+       cd usr/html; for f in *; do case $$f in *8c*);; *8h*);; *8txt*);; *) echo $$f;; esac; done
+       cp ${distdir}.tar.gz ${WEBDIR}
 
 
 .PRECIOUS: %/latex/refman.tex %/man/man3/m17nIntro.3m ${SRCALL}