Aegisub/aegisub/tinderbox/www/doxygen.sh
Amar Takhar 90da141dd4 Support split projects.
Originally committed to SVN as r3550.
2009-09-26 08:45:19 +00:00

27 lines
437 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"
;;
esac
cd docs/doxygen
sh -x ./gen.sh $1 /usr/www/docs.aegisub.org/${OUTPUT}
chmod 0644 /usr/www/docs.aegisub.org/${OUTPUT}/*