2009-07-30 00:01:19 +00:00
|
|
|
#!/bin/sh
|
2009-07-30 01:55:11 +00:00
|
|
|
|
2009-09-26 08:45:19 +00:00
|
|
|
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
|
|
|
|
|
2009-07-30 01:55:11 +00:00
|
|
|
# Help buildbot find the doxygen.log
|
|
|
|
ln -s docs/doxygen/doxygen.log
|
|
|
|
|
2009-09-26 08:45:19 +00:00
|
|
|
case "$1" in
|
|
|
|
"aegisub")
|
|
|
|
OUTPUT="source"
|
|
|
|
;;
|
|
|
|
"reporter")
|
|
|
|
OUTPUT="reporter"
|
|
|
|
;;
|
2010-05-21 01:13:36 +00:00
|
|
|
"libaegisub")
|
|
|
|
OUTPUT="libaegisub"
|
|
|
|
;;
|
2009-09-26 08:45:19 +00:00
|
|
|
esac
|
|
|
|
|
2009-07-30 00:01:19 +00:00
|
|
|
cd docs/doxygen
|
2009-09-26 08:45:19 +00:00
|
|
|
sh -x ./gen.sh $1 /usr/www/docs.aegisub.org/${OUTPUT}
|
2009-08-05 22:04:52 +00:00
|
|
|
|
2009-09-26 08:45:19 +00:00
|
|
|
chmod 0644 /usr/www/docs.aegisub.org/${OUTPUT}/*
|