forked from mia/Aegisub
Support split projects.
Originally committed to SVN as r3550.
This commit is contained in:
parent
3bc81569b3
commit
90da141dd4
1 changed files with 20 additions and 3 deletions
|
@ -1,9 +1,26 @@
|
||||||
#!/bin/sh
|
#!/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
|
# Help buildbot find the doxygen.log
|
||||||
ln -s docs/doxygen/doxygen.log
|
ln -s docs/doxygen/doxygen.log
|
||||||
|
|
||||||
cd docs/doxygen
|
case "$1" in
|
||||||
sh -x ./gen.sh /usr/www/docs.aegisub.org/source
|
"aegisub")
|
||||||
|
OUTPUT="source"
|
||||||
|
;;
|
||||||
|
"reporter")
|
||||||
|
OUTPUT="reporter"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
chmod 0644 /usr/www/docs.aegisub.org/source/*
|
cd docs/doxygen
|
||||||
|
sh -x ./gen.sh $1 /usr/www/docs.aegisub.org/${OUTPUT}
|
||||||
|
|
||||||
|
chmod 0644 /usr/www/docs.aegisub.org/${OUTPUT}/*
|
||||||
|
|
Loading…
Reference in a new issue