diff options
author | Teddy Wing | 2022-05-22 04:57:52 +0200 |
---|---|---|
committer | Teddy Wing | 2022-05-22 04:57:52 +0200 |
commit | 07c5cefe39542ebb16061a125de497c26996e70a (patch) | |
tree | 56f27cb83e6dcd8cdd172160be7354e9821a359e | |
parent | 3b335bb401524a6a1a95270a2b15ad2c46842568 (diff) | |
download | wajir-07c5cefe39542ebb16061a125de497c26996e70a.tar.bz2 |
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.
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |