changeset 3146:ec9cd34c9bf0 draft

Use xz instead of bzip2 to create the distribution.
author Roy Marples <roy@marples.name>
date Mon, 18 May 2015 11:21:50 +0000
parents 26ba3f970dc6
children e7f028c36208
files Makefile
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat May 16 23:07:35 2015 +0000
+++ b/Makefile	Mon May 18 11:21:50 2015 +0000
@@ -55,11 +55,11 @@
 
 DISTPREFIX?=	${PROG}-${VERSION}
 DISTFILEGZ?=	${DISTPREFIX}.tar.gz
-DISTFILE?=	${DISTPREFIX}.tar.bz2
+DISTFILE?=	${DISTPREFIX}.tar.xz
 
 HOST_SH?=	/bin/sh
 
-CLEANFILES+=	*.tar.bz2
+CLEANFILES+=	*.tar.xz
 
 .PHONY:		import import-bsd dev test
 
@@ -139,7 +139,7 @@
 
 dist:
 	fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ}
-	gunzip -c ${DISTFILEGZ} |  bzip2 >${DISTFILE}
+	gunzip -c ${DISTFILEGZ} | xz >${DISTFILE}
 	rm ${DISTFILEGZ}
 
 snapshot: