use xz to compress the archive rather than bzip2.
authorRoy Marples <roy@marples.name>
Mon, 18 May 2015 10:54:00 +0000 (10:54 +0000)
committerRoy Marples <roy@marples.name>
Mon, 18 May 2015 10:54:00 +0000 (10:54 +0000)
Makefile

index b62023a41752604f6037425fac8990afa21649b1..d8df9304a62f44ff63e8d296b23ecad0b7dc228f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,22 +12,22 @@ SUBDIR=             src ${MKICONS}
 FOSSILID?=     current
 DISTPREFIX?=   ${PROG}-${VERSION}
 DISTFILEGZ?=   ${DISTPREFIX}.tar.gz
 FOSSILID?=     current
 DISTPREFIX?=   ${PROG}-${VERSION}
 DISTFILEGZ?=   ${DISTPREFIX}.tar.gz
-DISTFILE?=     ${DISTPREFIX}.tar.bz2
+DISTFILE?=     ${DISTPREFIX}.tar.xz
 
 
-CLEANFILES+=   *.tar.bz2
+CLEANFILES+=   *.tar.xz
 
 _SNAP_SH=      date -u +%Y%m%d%H%M
 _SNAP!=                ${_SNAP_SH}
 SNAP=          ${_SNAP}$(shell ${_SNAP_SH})
 SNAPDIR=       ${DISTPREFIX}-${SNAP}
 
 _SNAP_SH=      date -u +%Y%m%d%H%M
 _SNAP!=                ${_SNAP_SH}
 SNAP=          ${_SNAP}$(shell ${_SNAP_SH})
 SNAPDIR=       ${DISTPREFIX}-${SNAP}
-SNAPFILE=      ${SNAPDIR}.tar.bz2
+SNAPFILE=      ${SNAPDIR}.tar.xz
 
 dist:
        fossil tarball --name ${DISTPREFIX} ${FOSSILID} /tmp/${DISTFILEGZ}
        rm -rf /tmp/${DISTPREFIX}
        tar -xzpf /tmp/${DISTFILEGZ} -C /tmp
        (cd /tmp/${DISTPREFIX}; make icons)
 
 dist:
        fossil tarball --name ${DISTPREFIX} ${FOSSILID} /tmp/${DISTFILEGZ}
        rm -rf /tmp/${DISTPREFIX}
        tar -xzpf /tmp/${DISTFILEGZ} -C /tmp
        (cd /tmp/${DISTPREFIX}; make icons)
-       tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
+       tar -cvJpf ${DISTFILE} -C /tmp ${DISTPREFIX}
        rm -rf /tmp/${DISTPREFIX} /tmp/${DISTFILEGZ}
        ls -l ${DISTFILE}
 
        rm -rf /tmp/${DISTPREFIX} /tmp/${DISTFILEGZ}
        ls -l ${DISTFILE}
 
@@ -40,7 +40,7 @@ snapshot: icons
        cp -RPp * /tmp/${SNAPDIR}
        (cd /tmp/${SNAPDIR}; make clean; rm config.h config.mk)
        find /tmp/${SNAPDIR} -name .gitignore -delete
        cp -RPp * /tmp/${SNAPDIR}
        (cd /tmp/${SNAPDIR}; make clean; rm config.h config.mk)
        find /tmp/${SNAPDIR} -name .gitignore -delete
-       tar -cvjpf ${SNAPFILE} -C /tmp ${SNAPDIR}
+       tar -cvJpf ${SNAPFILE} -C /tmp ${SNAPDIR}
        rm -rf /tmp/${SNAPDIR}
        ls -l ${SNAPFILE}
 
        rm -rf /tmp/${SNAPDIR}
        ls -l ${SNAPFILE}