summaryrefslogtreecommitdiff
path: root/branding
diff options
context:
space:
mode:
Diffstat (limited to 'branding')
-rwxr-xr-xbranding/scripts/build-all-providers5
-rwxr-xr-xbranding/templates/makefile/Makefile10
2 files changed, 8 insertions, 7 deletions
diff --git a/branding/scripts/build-all-providers b/branding/scripts/build-all-providers
index 2efcfc5..92a1307 100755
--- a/branding/scripts/build-all-providers
+++ b/branding/scripts/build-all-providers
@@ -12,6 +12,7 @@ export XBUILD=yes
for _provider in $PROVIDERS; do
export PROVIDER=$_provider;
make prepare
- make build
- make packages
+ #make build
+ #make packages
+ make package_snap
done
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 0c21eaf..b4faa60 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -85,12 +85,12 @@ endif
pkg_snap:
-@mkdir -p ../../deploy
@echo "[+] building snap..."
- cd ../..
- -@ln -s build/$(PROVIDER)/snap snap
- snapcraft build
+ cd ../..; \
+ ln -s build/$(PROVIDER)/snap snap; \
+ snapcraft build; \
snapcraft snap
- -@rm snap
- @mv $(BINNAME)* ../../deploy
+ -@rm ../../snap
+ @mv ../../$(BINNAME)* ../../deploy
pkg_deb:
echo "[+] building debian package version" ${DEB_VERSION}