From a4f48269193106f94b4c0123aa5ad8441c49d351 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20B=C3=BChler?= <david.buhler@cea.fr>
Date: Tue, 14 Jan 2025 11:22:00 +0100
Subject: [PATCH] [Ivette] Makefile: avoids generating the server API twice.

But still ensure the server API is always generated first.
---
 Makefile        | 4 ++--
 ivette/Makefile | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 850ada2bc6c..dfb6ad191b9 100644
--- a/Makefile
+++ b/Makefile
@@ -79,10 +79,10 @@ endif
 
 .PHONY: ivette ivette-api ivette-dev
 
-ivette: ivette-api
+ivette: all
 	@$(MAKE) -C ivette
 
-ivette-dev: ivette-api
+ivette-dev: all
 	@$(MAKE) -C ivette dev
 
 ivette-api: all
diff --git a/ivette/Makefile b/ivette/Makefile
index 5940f60c03f..19422a42363 100644
--- a/ivette/Makefile
+++ b/ivette/Makefile
@@ -37,7 +37,7 @@ COPYRIGHT=CEA LIST / LSL
 
 .PHONY: all app dev
 
-all: pkg lint app
+all: api pkg lint dome-app
 app: api dome-app
 dev: api dome-dev
 
-- 
GitLab