summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-02-10 21:45:18 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-02-10 22:04:12 +0100
commitf085beec2a6be9b1045ed4f609156ea54ad37d82 (patch)
tree7ccd7f0c32030629d0537c41c219f342dc8e73a9 /Makefile
parent5a23e0539d2447029785591db60f08affd50e314 (diff)
[pkg] add build deps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d3ae5f5..2ee11d2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
#########################################################################
# Multiplatform build and packaging recipes for BitmaskVPN
-# (c) LEAP Encryption Access Project, 2019-2020
+# (c) LEAP Encryption Access Project, 2019-2021
#########################################################################
.PHONY: all get build icon locales generate_locales clean check_qtifw HAS-qtifw relink_vendor
@@ -11,7 +11,10 @@ VENDOR_PATH ?= providers
APPNAME ?= $(shell VENDOR_PATH=${VENDOR_PATH} branding/scripts/getparam appname | tail -n 1)
TARGET ?= $(shell VENDOR_PATH=${VENDOR_PATH} branding/scripts/getparam binname | tail -n 1)
PROVIDER ?= $(shell grep ^'provider =' ${VENDOR_PATH}/vendor.conf | cut -d '=' -f 2 | tr -d "[:space:]")
-VERSION ?= $(shell git describe)
+VERSION ?= $(shell git describe 2> /dev/null)
+ifeq ($(VERSION),)
+ VERSION := "unknown"
+endif
WINCERTPASS ?= pass
OSXAPPPASS ?= pass
OSXMORDORUID ?= uid