summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-07-07 20:57:29 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-07 20:57:29 +0200
commitdf9d9f990ae97904f01af3b710042713d31da7f6 (patch)
tree6f38cce9f38a088b99cdaaf7d69de0ef2db4c54d /Makefile
parent39eb4a176ef2fe52247db4ca551fc0f945ffa2ae (diff)
[ux] customize background for calyxvpn
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1a6d423..82a805d 100644
--- a/Makefile
+++ b/Makefile
@@ -353,7 +353,11 @@ gen_pkg_deb:
ifeq (${PLATFORM}, linux)
@cp -r ${TEMPLATES}/debian build/${PROVIDER}
@VERSION=${VERSION} VENDOR_PATH=${VENDOR_PATH} ${SCRIPTS}/generate-debian build/${PROVIDER}/debian/data.json
+ifeq (${VENDOR_PATH}, providers)
@mkdir -p build/${PROVIDER}/debian/icons/scalable && cp ${VENDOR_PATH}/${PROVIDER}/assets/icon.svg build/${PROVIDER}/debian/icons/scalable/icon.svg
+else
+ @mkdir -p build/${PROVIDER}/debian/icons/scalable && cp ${VENDOR_PATH}/assets/icon.svg build/${PROVIDER}/debian/icons/scalable/icon.svg
+endif
@cd build/${PROVIDER}/debian && python3 generate.py
@cd build/${PROVIDER}/debian && rm app.desktop-template changelog-template rules-template control-template generate.py data.json && chmod +x rules
endif