5
PATH=/usr/local/bin:$PATH
7
if [[ "$DOCSTYPE" == "api" ]]; then
12
if [[ "$DOCSTYPE" == "manual" ]]; then
17
DOCSTITLE="User Guide"
23
echo "Building $DOCSTITLE documentation..."
24
cd /home/openlp/Projects/documentation/trunk
31
echo "Creating tarball..."
34
tar -czvf ${TARBALL}.tar.gz $TARBALL
35
echo "Uploading tarball..."
36
scp ${TARBALL}.tar.gz openlp@openlp.org:public_html/
37
ssh openlp@openlp.org "cd ~/public_html && tar -xzvf ${TARBALL}.tar.gz"
38
echo "Finished $DOCSTITLE run."