fix zips not updating on build
This commit is contained in:
parent
3e1768c778
commit
4ba5d8c530
7
Makefile
7
Makefile
@ -19,14 +19,17 @@ include Package.mk
|
|||||||
|
|
||||||
.PHONY: build # Build the project
|
.PHONY: build # Build the project
|
||||||
build:
|
build:
|
||||||
$(V)rm -Rf $(BUILD_DIR_ZIP)
|
|
||||||
$(V)meson --cross cross-mingw-32.txt $(BUILD_DIR_32)
|
$(V)meson --cross cross-mingw-32.txt $(BUILD_DIR_32)
|
||||||
$(V)ninja -C $(BUILD_DIR_32)
|
$(V)ninja -C $(BUILD_DIR_32)
|
||||||
$(V)meson --cross cross-mingw-64.txt $(BUILD_DIR_64)
|
$(V)meson --cross cross-mingw-64.txt $(BUILD_DIR_64)
|
||||||
$(V)ninja -C $(BUILD_DIR_64)
|
$(V)ninja -C $(BUILD_DIR_64)
|
||||||
|
|
||||||
.PHONY: dist # Build and create a zip distribution package
|
.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
|
.PHONY: zip # Create a zip distribution pacakge
|
||||||
zip: $(BUILD_DIR_ZIP)/bananatools.zip
|
zip: $(BUILD_DIR_ZIP)/bananatools.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user