From 0bfc51d4a92247091f9257de1c996f5f1af7e464 Mon Sep 17 00:00:00 2001 From: Patryk Osmaczko Date: Mon, 27 Jun 2022 20:49:49 +0200 Subject: [PATCH] fix(Makefile): ensure `pkg` target rebuilds status client Otherwise `make pkg` would deploy already built status client, regardless of its initial configuration. `make clean` is not required before `make pkg` anymore. fixes: #6241 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6eae5656ea..e2707e0023 100644 --- a/Makefile +++ b/Makefile @@ -547,7 +547,11 @@ $(STATUS_CLIENT_7Z): $(STATUS_CLIENT_EXE) echo -e $(BUILD_MSG) "7z" 7z a $(STATUS_CLIENT_7Z) ./$(OUTPUT) -pkg: $(PKG_TARGET) +# pkg target rebuilds status client +# this is to ensure production version of the app is deployed +pkg: + rm $(NIM_STATUS_CLIENT) | : + $(MAKE) $(PKG_TARGET) pkg-linux: check-pkg-target-linux $(STATUS_CLIENT_APPIMAGE)