summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-30 05:39:15 +0000
committerSam James <sam@gentoo.org>2024-11-30 10:18:27 +0000
commitbaba6164d1aa2fd4eee6b52ef10f70b999ee9393 (patch)
treec4a357971df9023c01652b4770e605c740971087
parentcrossdev: nvptx needs multilib (diff)
downloadcrossdev-20241130.3.tar.gz
crossdev-20241130.3.tar.bz2
crossdev-20241130.3.zip
Makefile: fix tarball generation20241130.3
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a935a98..5c483b8 100644
--- a/Makefile
+++ b/Makefile
@@ -15,8 +15,10 @@ PV = $(shell test -e .git && git describe)
P = crossdev-$(PV)
COMP = xz
dist:
- git archive --prefix=$(P)/ HEAD | sed 's:@CDEVPV@:$(PV):g' > $(P).tar
+ sed -i -e 's:@CDEVPV@:$(PV):g' crossdev
+ git archive --prefix=$(P)/ HEAD > $(P).tar
-$(COMP) -f $(P).tar
du -b $(P).tar*
+ sed -i -e 's:$(PV):@CDEVPV@:g' crossdev
.PHONY: all dist install