From eb6daeca436ab9b9aa05a4203d0784780dc9968a Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Sun, 7 Dec 2008 07:51:40 +0000 Subject: Fix dist for svn --- mk/dist.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mk/dist.mk b/mk/dist.mk index 90383482..657c2f71 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -2,11 +2,12 @@ # Copyright 2008 Roy Marples # 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} -- cgit v1.2.3