From 7074e5a94630d7c65c879e9a74cf69e04c699178 Mon Sep 17 00:00:00 2001 From: Anon McHacker Date: Fri, 24 Nov 2023 18:23:34 -0800 Subject: [PATCH] Better packaging --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6690900..d65ca4b 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,10 @@ DESTDIR ?= SG_DIR = $(DESTDIR)$(PREFIX)/lib/$(MAJOR) all: - zip -r $(MAJOR)-$(MINOR).zip src/* + rm -rf $(MAJOR)-$(MINOR)/ + cp -r src $(MAJOR)-$(MINOR) + zip -r $(MAJOR)-$(MINOR).zip $(MAJOR)-$(MINOR) + rm -rf $(MAJOR)-$(MINOR)/ clean: rm -f *.zip