summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-07-09 18:20:10 +0200
committerRuben Pollan <meskio@sindominio.net>2019-08-05 11:46:08 -0400
commitd33a4a041ab5d9e11e127d8a0e18205f97f4cabd (patch)
tree12af59a68733e664896cbd32848310014c8589f6 /Makefile
parentebe7e3e10485ea69ca5726117c643b8851ba45f9 (diff)
[feat] allow overriding of PROVIDER_CONFIG
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 513c0eb..6f54daf 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
TAGS ?= gtk_3_18
PROVIDER ?= $(shell grep ^'provider =' branding/config/vendor.conf | cut -d '=' -f 2 | tr -d "[:space:]")
+PROVIDER_CONFIG ?= branding/config/vendor.conf
DEFAULT_PROVIDER = branding/assets/default/
all: icon locales get build
@@ -21,7 +22,7 @@ endif
cd branding/assets && ln -s ${PROVIDER} default
prepare: generate relink_default
- branding/scripts/check-ca-crt.py ${PROVIDER} branding/config/vendor.conf
+ branding/scripts/check-ca-crt.py ${PROVIDER} ${PROVIDER_CONFIG}
build: $(foreach path,$(wildcard cmd/*),build_$(patsubst cmd/%,%,$(path)))