diff options
| author | Roy Marples <roy@marples.name> | 2017-03-11 20:24:39 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-03-11 20:24:39 +0000 |
| commit | e6734caf489c3db9565f29b204a6a3cf982b8b4f (patch) | |
| tree | aa12b96527cd02910baefbc6f5462f7156ade538 | |
| parent | a12a143907f2df2f4f209a03e9e20189445117e9 (diff) | |
| download | parpd-e6734caf489c3db9565f29b204a6a3cf982b8b4f.tar.xz | |
Use xz to create archives, drop svn support.
| -rw-r--r-- | mk/dist.mk | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -10,7 +10,7 @@ FOSSILID?= current GITREF?= HEAD DISTPREFIX?= ${PKG} DISTFILEGZ?= ${DISTPREFIX}.tar.gz -DISTFILE?= ${DISTPREFIX}.tar.bz2 +DISTFILE?= ${DISTPREFIX}.tar.xz DISTINFO= ${DISTFILE}.distinfo DISTINFOSIGN= ${DISTINFO}.asc CKSUM?= cksum -a SHA256 @@ -20,25 +20,19 @@ CLEANFILES+= *.tar.bz2 SNAP!= date -u +%Y%m%d%H%M SNAPDIR= ${DISTPREFIX}-${SNAP} -SNAPFILE= ${SNAPDIR}.tar.bz2 +SNAPFILE= ${SNAPDIR}.tar.xz DIST!= if test -f .fslckout; then echo "dist-fossil"; \ elif test -d .git; then echo "dist-git"; \ - elif test -d .svn; then echo "dist-svn"; \ else echo "dist-inst"; fi dist-fossil: fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ} - gunzip -c ${DISTFILEGZ} | bzip2 >${DISTFILE} + gunzip -c ${DISTFILEGZ} | xz >${DISTFILE} rm ${DISTFILEGZ} dist-git: - git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 >${DISTFILE} - -dist-svn: - svn export . ${DISTPREFIX} - tar cjpf ${DISTFILE} ${DISTPREFIX} - rm -rf ${DISTPREFIX} + git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE} dist-inst: mkdir /tmp/${DISTPREFIX} |
