Aegisub/aegisub/docs/doxygen/gen.sh
Amar Takhar 40e12403d5 Merge all changes from the libaegisub branch into trunk, the effective range is r4175:4330. All options have been re-done and now use Cajun to support a json-backed format.
Initial support for low-level access and file I/O methods are included as well.

Originally committed to SVN as r4331.
2010-05-21 01:13:36 +00:00

33 lines
427 B
Bash
Executable file

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