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