summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-05-20 17:41:00 +0200
committerKitty Barnett <develop@catznip.com>2012-05-20 17:41:00 +0200
commit1300f77fdd48d90d09a05058ffdf10df93092391 (patch)
tree1cefd5cb64be5ae614b4930dcd0a55cf4fc06109 /build.sh
parent8199cc997aeaccc72b5bd5389ded8afc7b9c379c (diff)
parentaa0a0542a10ba6faeca34afd6e323b505493d8dc (diff)
Merged with viewer-beta
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh18
1 files changed, 10 insertions, 8 deletions
diff --git a/build.sh b/build.sh
index c14fdc006f..a95ca91d82 100755
--- a/build.sh
+++ b/build.sh
@@ -148,10 +148,6 @@ if test -f scripts/update_version_files.py ; then
end_section UpdateVer
fi
-# Now retrieve the version for use in the version manager
-# First three parts only, $revision will be appended automatically.
-build_viewer_update_version_manager_version=`python scripts/get_version.py --viewer-version | sed 's/\.[0-9]*$//'`
-
if [ -z "$AUTOBUILD" ]
then
export autobuild_dir="$here/../../../autobuild/bin/"
@@ -194,11 +190,8 @@ env|sort
check_for "Before 'autobuild install'" ${build_dir}/packages/dictionaries
-# Install packages.
-"$AUTOBUILD" install --skip-license-check
check_for "After 'autobuild install'" ${build_dir}/packages/dictionaries
-
# Now run the build
succeeded=true
build_processes=
@@ -214,10 +207,19 @@ do
begin_section "Do$variant"
build_dir=`build_dir_$arch $variant`
build_dir_stubs="$build_dir/win_setup/$variant"
+
+ begin_section "PreClean"
rm -rf "$build_dir"
+ end_section "PreClean"
+
mkdir -p "$build_dir"
mkdir -p "$build_dir/tmp"
- #export TMP="$build_dir/tmp"
+
+ # Install packages.
+ begin_section "AutobuildInstall"
+ "$AUTOBUILD" install --verbose --skip-license-check
+ end_section "AutobuildInstall"
+
if pre_build "$variant" "$build_dir" >> "$build_log" 2>&1
then
if $build_link_parallel