aboutsummaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/dist.mk5
1 files 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 <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}