From 4ba5d8c5304e515d43afac545e5a5e2014c74958 Mon Sep 17 00:00:00 2001 From: Hay1tsme Date: Mon, 13 Feb 2023 02:53:10 -0500 Subject: [PATCH] fix zips not updating on build --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dbb0f3c..55ac7ab 100644 --- a/Makefile +++ b/Makefile @@ -19,14 +19,17 @@ include Package.mk .PHONY: build # Build the project build: - $(V)rm -Rf $(BUILD_DIR_ZIP) $(V)meson --cross cross-mingw-32.txt $(BUILD_DIR_32) $(V)ninja -C $(BUILD_DIR_32) $(V)meson --cross cross-mingw-64.txt $(BUILD_DIR_64) $(V)ninja -C $(BUILD_DIR_64) .PHONY: dist # Build and create a zip distribution package -dist: build zip +dist: build clean-zip zip + +.PHONY: clean-zip # Remove zip files from build dir before packaging +clean-zip: + $(V)rm -Rf $(BUILD_DIR_ZIP)/*.zip .PHONY: zip # Create a zip distribution pacakge zip: $(BUILD_DIR_ZIP)/bananatools.zip