From 334dc7cae8e9a51ca81fbb5c4640fa04bffef2ec Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Loi=CC=88c=20Correnson?= <loic.correnson@cea.fr>
Date: Fri, 21 Apr 2023 11:28:40 +0200
Subject: [PATCH] [ivette] binary distribution

---
 ivette/Makefile                   | 1 -
 ivette/src/dome/template/makefile | 9 ++++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/ivette/Makefile b/ivette/Makefile
index b1d5a8d5b5b..32d77f960dd 100644
--- a/ivette/Makefile
+++ b/ivette/Makefile
@@ -82,7 +82,6 @@ dist-dir:
 	@rm -fr dist
 
 dist: dist-dir dome-dist
-binary: dist-dir dome-binary
 appimage: dist-dir dome-appimage
 
 # --------------------------------------------------------------------------
diff --git a/ivette/src/dome/template/makefile b/ivette/src/dome/template/makefile
index c5648c6bf73..7750695b089 100644
--- a/ivette/src/dome/template/makefile
+++ b/ivette/src/dome/template/makefile
@@ -250,14 +250,13 @@ dome-app: dome-pkg dome-templ
 
 .PHONY: dome-dist dome-binary dome-appimage
 
-# TODO: choose what the default is
-dome-dist: dome-binary
-
-dome-binary: dome-app
-	@echo "[Dome] packaging application (production)"
+# Compatible with all OS for installation from source
+dome-dist: dome-app
+	@echo "[Dome] packaging application (binary)"
 	DOME=$(DOME) yarn run electron-builder --dir -c.compression=store -c.mac.identity=null
 	@echo "[Dome] application packaged in ./dist"
 
+# Build Linux AppImage for binary distribution
 dome-appimage: dome-app
 	@echo "[Dome] packaging application (AppImage)"
 	DOME=$(DOME) yarn run electron-builder --linux -c.compression=store -c.mac.identity=null
-- 
GitLab