summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-10-06 20:32:43 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-10-06 21:12:59 +0200
commit10c7e9ed157c0bc44424cab769be3f156bbc580a (patch)
tree35250badfd41dcf162975a195e41fcabf7ed0112 /Makefile
parentefde1a428e63be02a9f3e17df9f25490c8c0983c (diff)
[pkg] remove extra files from snap folder
- Resolves: #204
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9ae723e..4e15ae8 100644
--- a/Makefile
+++ b/Makefile
@@ -193,6 +193,7 @@ gen_pkg_snap:
@rm build/${PROVIDER}/snap/data.json build/${PROVIDER}/snap/snapcraft-template.yaml
@mkdir -p build/${PROVIDER}/snap/gui && cp branding/assets/default/icon.svg build/${PROVIDER}/snap/gui/icon.svg
@cp branding/assets/default/icon.png build/${PROVIDER}/snap/gui/${PROVIDER}-vpn.png
+ rm build/${PROVIDER}/snap/generate.py
gen_pkg_deb:
@cp -r ${TEMPLATES}/debian build/${PROVIDER}
@@ -221,6 +222,8 @@ package_win_in_docker:
@make -C docker package_win
package_snap:
+ @unlink snap || true
+ @ln -s build/${PROVIDER}/snap snap
@make -C build/${PROVIDER} pkg_snap
package_deb: