Aegisub/aegisub/tinderbox/www/doxygen.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

30 lines
484 B
Bash
Executable file

#!/bin/sh
if test -z "$1"; then
echo "You must provide a project name."
exit;
fi
# Remove from any previous runs
rm -f docs/doxygen/doxygen.log
# Help buildbot find the doxygen.log
ln -s docs/doxygen/doxygen.log
case "$1" in
"aegisub")
OUTPUT="source"
;;
"reporter")
OUTPUT="reporter"
;;
"libaegisub")
OUTPUT="libaegisub"
;;
esac
cd docs/doxygen
sh -x ./gen.sh $1 /usr/www/docs.aegisub.org/${OUTPUT}
chmod 0644 /usr/www/docs.aegisub.org/${OUTPUT}/*