Split doxygen generation into two parts, one for aegisub and another for the reporter.

Originally committed to SVN as r3548.
This commit is contained in:
Amar Takhar 2009-09-26 08:37:12 +00:00
parent dcca1694ce
commit cda9ac3c3b
10 changed files with 115 additions and 36 deletions

View File

@ -0,0 +1,31 @@
@INCLUDE = doxyfile_base
PROJECT_NAME = Aegisub
INPUT = ../../src/ ./pages_aegisub
EXCLUDE_PATTERNS = */.svn* */.deps* */.libs* */boost/* */scripts/* */gl/* */msvc/* */libresrc/* \
*/libosxutil/bundledirs-test.c */avisynth.h */MatroskaParser.? */md5.?
PREDEFINED += \
WITH_PORTAUDIO \
WITH_ALSA \
WITH_AUTO4_LUA \
WITH_AUTOMATION \
WITH_AVISYNTH \
WITH_CSRI \
WITH_DIRECTSOUND \
WITH_FFMPEGSOURCE \
WITH_FONTCONFIG \
WITH_FREETYPE2 \
WITH_HUNSPELL \
WITH_LIBASS \
WITH_OLD_HUNSPELL \
WITH_OPENAL \
WITH_PORTAUDIO \
WITH_PORTAUDIO2 \
WITH_PULSEAUDIO \
WITH_QUICKTIME \
WITH_STARTUPLOG \
WITH_UNIVCHARDET

View File

@ -4,7 +4,7 @@
# Project related configuration options # Project related configuration options
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
DOXYFILE_ENCODING = UTF-8 DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = Aegisub #PROJECT_NAME =
PROJECT_NUMBER = trunk PROJECT_NUMBER = trunk
OUTPUT_DIRECTORY = $(OUTPUT_DIR) OUTPUT_DIRECTORY = $(OUTPUT_DIR)
CREATE_SUBDIRS = NO CREATE_SUBDIRS = NO
@ -87,15 +87,14 @@ WARN_LOGFILE = doxygen.log
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# configuration options related to the input files # configuration options related to the input files
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
INPUT = ../../src/ . #INPUT =
INPUT_ENCODING = UTF-8 INPUT_ENCODING = UTF-8
FILE_PATTERNS = *.h *.cpp *.c *.dox FILE_PATTERNS = *.h *.cpp *.c *.dox
RECURSIVE = YES RECURSIVE = YES
#EXCLUDE = .svn .deps .libs boost gl msvc libass universalchardet #EXCLUDE =
EXCLUDE = EXCLUDE =
EXCLUDE_SYMLINKS = NO EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = */.svn* */.deps* */.libs* */boost/* */scripts/* */gl/* */msvc/* */libresrc/* \ #EXCLUDE_PATTERNS =
*/libosxutil/bundledirs-test.c */avisynth.h */MatroskaParser.? */md5.?
EXCLUDE_SYMBOLS = EXCLUDE_SYMBOLS =
EXAMPLE_PATH = ../../ EXAMPLE_PATH = ../../
EXAMPLE_PATTERNS = EXAMPLE_PATTERNS =
@ -215,29 +214,7 @@ EXPAND_ONLY_PREDEF = YES
SEARCH_INCLUDES = YES SEARCH_INCLUDES = YES
INCLUDE_PATH = INCLUDE_PATH =
INCLUDE_FILE_PATTERNS = INCLUDE_FILE_PATTERNS =
PREDEFINED = #PREDEFINED =
PREDEFINED += \
WITH_PORTAUDIO \
WITH_ALSA \
WITH_AUTO4_LUA \
WITH_AUTOMATION \
WITH_AVISYNTH \
WITH_CSRI \
WITH_DIRECTSOUND \
WITH_FFMPEGSOURCE \
WITH_FONTCONFIG \
WITH_FREETYPE2 \
WITH_HUNSPELL \
WITH_LIBASS \
WITH_OLD_HUNSPELL \
WITH_OPENAL \
WITH_PORTAUDIO \
WITH_PORTAUDIO2 \
WITH_PULSEAUDIO \
WITH_QUICKTIME \
WITH_STARTUPLOG \
WITH_UNIVCHARDET
PREDEFINED += WXUNUSED(x)= PREDEFINED += WXUNUSED(x)=
EXPAND_AS_DEFINED = EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES SKIP_FUNCTION_MACROS = YES

View File

@ -0,0 +1,31 @@
@INCLUDE = doxyfile_base
PROJECT_NAME = Aegisub Reporter
INPUT = ../../reporter/ ./pages_reporter
EXCLUDE_PATTERNS = */.svn* */.deps* */.libs* */boost/* */scripts/* */gl/* */msvc/* */libresrc/* \
*/libosxutil/bundledirs-test.c */avisynth.h */MatroskaParser.? */md5.?
PREDEFINED += \
WITH_PORTAUDIO \
WITH_ALSA \
WITH_AUTO4_LUA \
WITH_AUTOMATION \
WITH_AVISYNTH \
WITH_CSRI \
WITH_DIRECTSOUND \
WITH_FFMPEGSOURCE \
WITH_FONTCONFIG \
WITH_FREETYPE2 \
WITH_HUNSPELL \
WITH_LIBASS \
WITH_OLD_HUNSPELL \
WITH_OPENAL \
WITH_PORTAUDIO \
WITH_PORTAUDIO2 \
WITH_PULSEAUDIO \
WITH_QUICKTIME \
WITH_STARTUPLOG \
WITH_UNIVCHARDET

View File

@ -3,16 +3,27 @@
# $Id$ # $Id$
# #
if test -z "$1"; then if test -z "$1" || test -z "$2"; then
export OUTPUT_DIR="./output" echo "You must provide a project and output dir."
else exit;
export OUTPUT_DIR="$1"
fi fi
mkdir -vp "${OUTPUT_DIR}" case "$1" in
cp -v css.css "${OUTPUT_DIR}" "aegisub")
TRIM="${SRC_PWD}/src/"
;;
"reporter")
TRIM="${SRC_PWD}/reporter/"
;;
esac
export OUTPUT_DIR="$2"
export SRC_TRIM="${TRIM}"
mkdir -vp "$2"
cp -v css.css "$2"
SRC_PWD=`pwd|sed "s|/docs/doxygen||"` SRC_PWD=`pwd|sed "s|/docs/doxygen||"`
export SRC_TRIM="${SRC_PWD}/src/"
doxygen doxyfile doxygen "doxyfile_$1"

View File

@ -0,0 +1,7 @@
/**
@defgroup base Base
@defgroup Unix Unix
@defgroup windows Windows
@defgroup osx OS X
@defgroup io File I/O
*/

View File

@ -0,0 +1,17 @@
/** @mainpage
@defgroup base Base
@defgroup Unix Unix
@defgroup windows Windows
@defgroup osx OS X
@defgroup io File I/O
Main
- @ref base
Library
- @ref unix
- @ref windows
- @ref osx
- @ref io
*/

View File

@ -0,0 +1,5 @@
/** @page License Aegisub License
@verbinclude "LICENCE"
*/