aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-04-17 05:37:19 +0100
committerSam James <sam@gentoo.org>2023-04-17 05:37:32 +0100
commitaddb593e370c7d8fd38f3eb81e15837306d576ff (patch)
treeaa653bbba8835c2d3408fcfd4f76bee8e402122b
parentmk/dist.mk: use gtar for --owners (diff)
downloadnetifrc-addb593e370c7d8fd38f3eb81e15837306d576ff.tar.gz
netifrc-addb593e370c7d8fd38f3eb81e15837306d576ff.tar.bz2
netifrc-addb593e370c7d8fd38f3eb81e15837306d576ff.zip
mk/dist.mk: use xz
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--mk/dist.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/dist.mk b/mk/dist.mk
index 7404f04..1625d7c 100644
--- a/mk/dist.mk
+++ b/mk/dist.mk
@@ -4,18 +4,18 @@
GITREF?= HEAD
DISTPREFIX?= ${NAME}-${VERSION}
-DISTFILE?= ${DISTPREFIX}.tar.bz2
+DISTFILE?= ${DISTPREFIX}.tar.xz
-CLEANFILES+= ${NAME}-*.tar.bz2
+CLEANFILES+= ${NAME}-*.tar.xz
_SNAP_SH= date -u +%Y%m%d%H%M
_SNAP:= $(shell ${_SNAP_SH})
SNAP= ${_SNAP}
SNAPDIR= ${DISTPREFIX}-${SNAP}
-SNAPFILE= ${SNAPDIR}.tar.bz2
+SNAPFILE= ${SNAPDIR}.tar.xz
gitdist:
- git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
+ git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz > ${DISTFILE}
dist:
sh -c ' \