diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2015-04-20 18:45:20 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:46:15 +0300 |
commit | 262538bd7d1844f7e0928988b1584c93302ad4fb (patch) | |
tree | 0dee28d12015e6c2f415d6b2ad2ac336c00ac0df /tools/autobuild | |
parent | a262df227a242dbf891b3d241bfc9deec9f351e7 (diff) |
Launching qmake only if Makefile is not available. If Makefile is available qmake is launch by make command.
Diffstat (limited to 'tools/autobuild')
-rw-r--r-- | tools/autobuild/build.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/autobuild/build.sh b/tools/autobuild/build.sh index f15aa060d2..aca940816a 100644 --- a/tools/autobuild/build.sh +++ b/tools/autobuild/build.sh @@ -36,7 +36,10 @@ BuildQt() { mkdir -p "$SHADOW_DIR" cd "$SHADOW_DIR" - "$QMAKE" CONFIG-=sdk -r "$QMAKE_PARAMS" -spec "$MKSPEC" "$MY_PATH/../../omim.pro" + if [ ! -f "$SHADOW_DIR/Makefile" ]; then + echo "Launching qmake..." + "$QMAKE" CONFIG-=sdk -r "$QMAKE_PARAMS" -spec "$MKSPEC" "$MY_PATH/../../omim.pro" + fi # make clean > /dev/null || true make -j $(GetCPUCores) ) |