summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2015-06-29 18:12:22 -0400
committerOz Linden <oz@lindenlab.com>2015-06-29 18:12:22 -0400
commitb3352767ce7e1749ba927784471ff1edf960dd7f (patch)
treea499a14d91e67b09e626449d69b78cafa26e641a /build.sh
parent510f46df238497171f40b27425601feda9c0da41 (diff)
Replace hg.secondlife.com with bitbucket.org/lindenlab/viewer-release
Incorporate viewer channel and version into doxygen output Use the autobuild configuration as a variant to build doxygen docs. Upload doxygen docs as a tarball if generated.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/build.sh b/build.sh
index 95b32ba429..c10380c043 100755
--- a/build.sh
+++ b/build.sh
@@ -173,12 +173,6 @@ build()
fi
}
- if "$AUTOBUILD" build -c Doxygen
- then
- echo true >"$build_dir"/build_ok
- else
- echo false >"$build_dir"/build_ok
- fi
# Check to see if we were invoked from the wrapper, if not, re-exec ourselves from there
if [ "x$arch" = x ]
then
@@ -423,6 +417,11 @@ then
upload_stub_installers "$build_dir_stubs"
fi
end_section Upload Installer
+ elif [ "$last_built_variant" = "Doxygen" ]
+ then
+ cd "$build_dir/doxygen/html"
+ tar cjf viewer-doxygen.tar.bz2 .
+ upload_item docs viewer-doxygen.tar.bz2 binary/octet-stream
else
echo skipping upload of installer
fi