summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-05-01 14:45:13 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:59:17 +0200
commitfe34e6b7447059f25c6c6cbc00d70e597c0e2d37 (patch)
treefb86c9a453a3d17e1fe111564fa8f48a6b3465a1 /Makefile
parent161a9cf7f4acf14090224b85997f8651e45a144b (diff)
[pkg] build snap from scratch
this is mainly a workaround for #497
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 09ffc1d..b9ddda5 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,8 @@
XBUILD ?= no
RELEASE ?= no
+QMAKE ?= qmake
+LRELEASE ?= lrelease
SKIP_CACHECK ?= no
VENDOR_PATH ?= providers
APPNAME ?= $(shell VENDOR_PATH=${VENDOR_PATH} branding/scripts/getparam appname | tail -n 1)
@@ -138,7 +140,7 @@ build_gui: relink_vendor
@echo "==============BUILD GUI==============="
@echo "TARGET: ${TARGET}"
@echo "VENDOR_PATH: ${VENDOR_PATH}"
- @XBUILD=no TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} gui/build.sh --skip-golib
+ @XBUILD=no QMAKE=${QMAKE} LRELEASE=${LRELEASE} TARGET=${TARGET} VENDOR_PATH=${VENDOR_PATH} gui/build.sh --skip-golib
@echo "============BUILD GUI================="
build: build_golib build_helper build_gui