Use git
authorRoy Marples <roy@marples.name>
Mon, 4 May 2009 15:22:11 +0000 (15:22 +0000)
committerRoy Marples <roy@marples.name>
Mon, 4 May 2009 15:22:11 +0000 (15:22 +0000)
.gitignore
mk/dist.mk

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ea45b4b017830edb010656e02d93951f41cdbb71 100644 (file)
@@ -0,0 +1 @@
+dhcpcd-ui-*.tar.bz2
index b45436ecf1a3a355130eeed7e0c0ed58e2820e27..eeffe86f5ccf467d65171a92fccb48b13951f445 100644 (file)
@@ -14,9 +14,7 @@ SNAPDIR=      ${DISTPREFIX}-${SNAP}
 SNAPFILE=      ${SNAPDIR}.tar.bz2
 
 dist:
-       svn export . ${DISTPREFIX}
-       tar cjpf ${DISTFILE} ${DISTPREFIX}
-       rm -rf ${DISTPREFIX}
+       git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
 
 snapshot:
        mkdir /tmp/${SNAPDIR}