From ebba62079a63cde91ab515f7ccbbb039531c4ebf Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 30 May 2008 12:09:22 +0000 Subject: [PATCH] doxyfile --- Makefile.am | 38 ++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- utils/latex.sh | 9 +++++---- 3 files changed, 45 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3c7268a..f8841ad 100644 --- a/Makefile.am +++ b/Makefile.am @@ -134,6 +134,43 @@ html: usr-html ja-html dev-html latex: usr-latex ja-latex dev-latex man: usr-man +doxyfile: Makefile + ${DOXYGEN} -g - | \ + sed -e '/^PROJECT_NAME / s/=.*/= %PROJECT_NAME%/' \ + -e '/^PROJECT_NUMBER / s/=.*/= %PROJECT_NUMBER%/' \ + -e '/^OUTPUT_DIRECTORY / s/=.*/= %USR_JA_DEV%/' \ + -e '/^OUTPUT_LANGUAGE / s/=.*/= %OUTPUT_LANGUAGE%/' \ + -e '/^OPTIMIZE_OUTPUT_FOR_C / s/=.*/= YES/' \ + -e '/^EXTRAXT_ALL / s/=.*/= YES/' \ + -e '/^SHOW_INCLUDE_FILES / s/=.*/= NO/' \ + -e '/^SHOW_MEMBER_DOCS / s/=.*/= NO/' \ + -e '/^ENABLED_SECTIONS / s/=.*/= %ENABLED_SECTIONS%/' \ + -e '/^SHOW_USED_FILES / s/=.*/= NO/' \ + -e '/^INPUT / s/=.*/= %INPUT%/' \ + -e '/^INPUT_ENCODING / s/=.*/= %INPUT_ENCODING%/' \ + -e '/^FILE_PATTERNS / s/=.*/= *.c *.txt/' \ + -e '/^EXCLUDE_PATTERNS / s/=.*/= link*.c/' \ + -e '/^EXAMPLE_PATH / s/=.*/= data-%USR_JA_DEV%/' \ + -e '/^IMAGE_PATH / s/=.*/= image/' \ + -e '/^INPUT_FILTER / s/=.*/= utils\/%USR_JA_DEV%_filter.sh/' \ + -e '/^VERBATIM_HEADERS / s/=.*/= NO/' \ + -e '/^ALPHABETICAL_INDEX / s/=.*/= YES/' \ + -e '/^IGNORE_PREFIX / s/=.*/= m M/' \ + -e '/^GENERATE_HTML / s/=.*/= %GENERATE_HTML%/' \ + -e '/^HTML_HEADER / s/=.*/= header.%USR_JA_DEV%.html/' \ + -e '/^HTML_FOOTER / s/=.*/= footer.%USR_JA_DEV%.html/' \ + -e '/^DISABLE_INDEX / s/=.*/= NO/' \ + -e '/^ENUM_VALUES_PER_LINE / s/=.*/= 1/' \ + -e '/^GENERATE_LATEX / s/=.*/= %GENERATE_LATEX%/' \ + -e '/^EXTRA_PACKAGES / s/=.*/= m17n-lib times/' \ + -e '/^PDF_HYPERLINKS / s/=.*/= NO/' \ + -e '/^USE_PDFLATEX / s/=.*/= NO/' \ + -e '/^GENERATE_MAN / s/=.*/= %GENERATE_MAN%/' \ + -e '/^MAN_EXTENSION / s/=.*/= %MAN_EXTENSION%/' \ + -e '/^PREDEFINED / s/=.*/= FOR_DOXYGEN/' \ + -e '/^GENERATE_TAGFILE / s/=.*/= m17n.tag/' \ + > $@ + doxyfile-html: doxyfile ${SRCALL} sed -e 's|%PROJECT_NUMBER%|@PACKAGE_VERSION@|' \ -e 's|%INPUT%|${SRCALL}|' \ @@ -184,6 +221,7 @@ doxyfile-latex.dev: doxyfile-latex doxyfile-latex.ja: doxyfile-latex sed -e 's|%PROJECT_NAME%|${PROJECT_NAME_JA}|' \ + -e 's|INPUT_ENCODING.*= UTF-8|INPUT_ENCODING = EUC-JP|' \ -e 's/%USR_JA_DEV%/ja/g' \ -e 's/%OUTPUT_LANGUAGE%/Japanese/' \ < $< >$@ diff --git a/configure.ac b/configure.ac index 760da1d..d641bd6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # Process this file with autoconf to produce a configure script. -AC_INIT(m17n-docs, 1.5.0, bugs-m17n-lib@m17n.org) -AM_INIT_AUTOMAKE(m17n-docs, 1.5.0) +AC_INIT(m17n-docs, 1.5.2, bugs-m17n-lib@m17n.org) +AM_INIT_AUTOMAKE(m17n-docs, 1.5.2) AM_MAINTAINER_MODE diff --git a/utils/latex.sh b/utils/latex.sh index 6f2fa99..e854fad 100755 --- a/utils/latex.sh +++ b/utils/latex.sh @@ -16,8 +16,9 @@ if [ $USR_JA_DEV = "ja" ] ; then fi SOURCE=m17n-lib-ja sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ - -e '/m17n ライブラリ モジュール索引/,/pages/ d' \ - -e '/m17n ライブラリ ファイル/,/textprop_8c/ d' \ + -e '/モジュール索引/,/modules/ d' \ + -e '/ファイル索引}/,/files/ d' \ + -e '/ファイル}/,/textprop_8c/ d' \ -e '/m17n ライブラリ Directory Documentation/,/dir_000001/ d' \ -e 's/m17n ライブラリ ページ/Appendix/' \ < refman.tex > ${SOURCE}.tex @@ -32,8 +33,8 @@ elif [ $USR_JA_DEV = "dev" ] ; then else SOURCE=m17n-lib sed -e '/documentclass/ s/a4paper/a4paper,twoside/' \ - -e '/The m17n Library Module Index/,/pages/ d' \ - -e '/The m17n Library File Documentation/,/textprop_8c/ d' \ + -e '/Module Index/,/modules/ d' \ + -e '/File Documentation/,/textprop_8c/ d' \ -e '/The m17n Library Directory Documentation/,/dir_000001/ d' \ -e 's/The m17n Library Page Documentation/Appendix/' \ < refman.tex > ${SOURCE}.tex -- 1.7.10.4