From 011063597db3f1cf77fd8a5f071d91c1830f03d3 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 29 Jun 2024 12:54:57 +1200 Subject: [PATCH] makefile: improvements for dist archives --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8de97c3..d16c8bb 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,12 @@ yvbolt.exe: $(SOURCES) upx --best yvbolt.exe yvbolt.linux64.tar.xz: yvbolt liblcl.so + rm -f yvbolt.linux64.tar.xz XZ_OPT='--best' tar caf yvbolt.linux64.tar.xz --owner=0 --group=0 yvbolt liblcl.so yvbolt.win64.zip: yvbolt.exe liblcl.dll - zip -0 yvbolt.win64.zip yvbolt.exe liblcl.dll + rm -f yvbolt.win64.zip + zip -9 yvbolt.win64.zip yvbolt.exe liblcl.dll .PHONY: dist dist: yvbolt.linux64.tar.xz yvbolt.win64.zip