mirror of https://github.com/odrling/Aegisub
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:
parent
dcca1694ce
commit
cda9ac3c3b
|
@ -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
|
|
@ -4,7 +4,7 @@
|
|||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
DOXYFILE_ENCODING = UTF-8
|
||||
PROJECT_NAME = Aegisub
|
||||
#PROJECT_NAME =
|
||||
PROJECT_NUMBER = trunk
|
||||
OUTPUT_DIRECTORY = $(OUTPUT_DIR)
|
||||
CREATE_SUBDIRS = NO
|
||||
|
@ -87,15 +87,14 @@ WARN_LOGFILE = doxygen.log
|
|||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = ../../src/ .
|
||||
#INPUT =
|
||||
INPUT_ENCODING = UTF-8
|
||||
FILE_PATTERNS = *.h *.cpp *.c *.dox
|
||||
RECURSIVE = YES
|
||||
#EXCLUDE = .svn .deps .libs boost gl msvc libass universalchardet
|
||||
#EXCLUDE =
|
||||
EXCLUDE =
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS = */.svn* */.deps* */.libs* */boost/* */scripts/* */gl/* */msvc/* */libresrc/* \
|
||||
*/libosxutil/bundledirs-test.c */avisynth.h */MatroskaParser.? */md5.?
|
||||
#EXCLUDE_PATTERNS =
|
||||
EXCLUDE_SYMBOLS =
|
||||
EXAMPLE_PATH = ../../
|
||||
EXAMPLE_PATTERNS =
|
||||
|
@ -215,29 +214,7 @@ EXPAND_ONLY_PREDEF = YES
|
|||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
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 =
|
||||
PREDEFINED += WXUNUSED(x)=
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
|
@ -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
|
|
@ -3,16 +3,27 @@
|
|||
# $Id$
|
||||
#
|
||||
|
||||
if test -z "$1"; then
|
||||
export OUTPUT_DIR="./output"
|
||||
else
|
||||
export OUTPUT_DIR="$1"
|
||||
if test -z "$1" || test -z "$2"; then
|
||||
echo "You must provide a project and output dir."
|
||||
exit;
|
||||
fi
|
||||
|
||||
mkdir -vp "${OUTPUT_DIR}"
|
||||
cp -v css.css "${OUTPUT_DIR}"
|
||||
case "$1" in
|
||||
"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||"`
|
||||
export SRC_TRIM="${SRC_PWD}/src/"
|
||||
|
||||
doxygen doxyfile
|
||||
doxygen "doxyfile_$1"
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
@defgroup base Base
|
||||
@defgroup Unix Unix
|
||||
@defgroup windows Windows
|
||||
@defgroup osx OS X
|
||||
@defgroup io File I/O
|
||||
*/
|
|
@ -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
|
||||
*/
|
|
@ -0,0 +1,5 @@
|
|||
/** @page License Aegisub License
|
||||
|
||||
@verbinclude "LICENCE"
|
||||
|
||||
*/
|
Loading…
Reference in New Issue