Make volume sliders works correctly
[apps/mixer.git] / conf.d / autobuild / agl / autobuild
1 #!/bin/bash
2
3 SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/../../../"
4 BUILD_DIR=$( echo "$2" | cut -d'=' -f2 )
5
6 # HACK: alias should be expanded in script for cmake to work properly
7 shopt -s expand_aliases
8 # HACK: source again the SDK because of the alias
9 source $SDKTARGETSYSROOT/../../environment-setup-*
10
11 pushd $BUILD_DIR
12
13         cmake $SOURCE_DIR
14         make
15
16         if [ "$1" == "package" ]; then
17                 make widget
18         fi
19
20 popd
21