From 07c5cefe39542ebb16061a125de497c26996e70a Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 22 May 2022 04:57:52 +0200 Subject: Makefile: Add root directory prefix to release tarball Put all files in the tarball in a `wajir_$(VERSION)` folder. Otherwise, MacPorts couldn't figure out where the root directory was. --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f5db4ac..776f189 100644 --- a/Makefile +++ b/Makefile @@ -62,8 +62,14 @@ bundle/bundled-local-projects/0000/wajir/wajir: bundle pkg: wajir_$(VERSION).tar.bz2 wajir_$(VERSION).tar.bz2: bundle wajir.asd src/*.lisp - git archive --output=wajir_$(VERSION).tar HEAD - tar -rf wajir_$(VERSION).tar bundle + git archive \ + --prefix=wajir_$(VERSION)/ \ + --output=wajir_$(VERSION).tar \ + HEAD + tar -r \ + -s ,bundle,wajir_$(VERSION)/bundle, \ + -f wajir_$(VERSION).tar \ + bundle bzip2 wajir_$(VERSION).tar -- cgit v1.2.3