diff options
author | Roy Marples <roy@marples.name> | 2008-12-07 07:51:40 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-12-07 07:51:40 +0000 |
commit | eb6daeca436ab9b9aa05a4203d0784780dc9968a (patch) | |
tree | 9542684d55cb67a90d807034162e29f259b4a885 /mk | |
parent | 10e88090f6f50a307162ed661d18b1f754df11c7 (diff) |
Fix dist for svn
Diffstat (limited to 'mk')
-rw-r--r-- | mk/dist.mk | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,11 +2,12 @@ # Copyright 2008 Roy Marples <roy@marples.name> # All rights reserved. Released under the 2-clause BSD license. -GITREF?= HEAD DISTPREFIX?= ${NAME}-${VERSION} DISTFILE?= ${DISTPREFIX}.tar.bz2 CLEANFILES+= ${DISTFILE} dist: - git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE} + svn export . ${DISTPREFIX} + tar cjpf ${DISTFILE} ${DISTPREFIX} + rm -rf ${DISTPREFIX} |