2008-01-10 16:37:42 +00:00
|
|
|
# rules to make a distribution tarball from a git repo
|
|
|
|
# Copyright 2008 Roy Marples <roy@marples.name>
|
2008-03-26 17:53:37 +00:00
|
|
|
# All rights reserved. Released under the 2-clause BSD license.
|
2008-01-10 16:37:42 +00:00
|
|
|
|
2008-03-03 13:14:54 +00:00
|
|
|
DISTPREFIX?= ${NAME}-${VERSION}
|
2008-01-10 16:37:42 +00:00
|
|
|
DISTFILE?= ${DISTPREFIX}.tar.bz2
|
|
|
|
|
|
|
|
CLEANFILES+= ${DISTFILE}
|
|
|
|
|
|
|
|
dist:
|
2008-12-07 07:51:40 +00:00
|
|
|
svn export . ${DISTPREFIX}
|
|
|
|
tar cjpf ${DISTFILE} ${DISTPREFIX}
|
|
|
|
rm -rf ${DISTPREFIX}
|