diff options
author | 2023-04-17 05:37:19 +0100 | |
---|---|---|
committer | 2023-04-17 05:37:32 +0100 | |
commit | addb593e370c7d8fd38f3eb81e15837306d576ff (patch) | |
tree | aa653bbba8835c2d3408fcfd4f76bee8e402122b | |
parent | mk/dist.mk: use gtar for --owners (diff) | |
download | netifrc-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.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ' \ |