Fix dist for svn
This commit is contained in:
parent
10e88090f6
commit
eb6daeca43
@ -2,11 +2,12 @@
|
|||||||
# Copyright 2008 Roy Marples <roy@marples.name>
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
||||||
# All rights reserved. Released under the 2-clause BSD license.
|
# All rights reserved. Released under the 2-clause BSD license.
|
||||||
|
|
||||||
GITREF?= HEAD
|
|
||||||
DISTPREFIX?= ${NAME}-${VERSION}
|
DISTPREFIX?= ${NAME}-${VERSION}
|
||||||
DISTFILE?= ${DISTPREFIX}.tar.bz2
|
DISTFILE?= ${DISTPREFIX}.tar.bz2
|
||||||
|
|
||||||
CLEANFILES+= ${DISTFILE}
|
CLEANFILES+= ${DISTFILE}
|
||||||
|
|
||||||
dist:
|
dist:
|
||||||
git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
|
svn export . ${DISTPREFIX}
|
||||||
|
tar cjpf ${DISTFILE} ${DISTPREFIX}
|
||||||
|
rm -rf ${DISTPREFIX}
|
||||||
|
Loading…
Reference in New Issue
Block a user