]> git.proxmox.com Git - pve-sheepdog.git/blobdiff - Makefile
update git to stable branch
[pve-sheepdog.git] / Makefile
index 6b556a4fd3858f38ee3a864bdf29f3fd71a115d5..a8a8c73b0b3569fc47e75e1fb6c32ddffd8c5067 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
-RELEASE=2.2
+RELEASE=3.0
 
 PACKAGE=pve-sheepdog
-PKGREL=1
-SDVER=0.5.6
+PKGREL=2
+SDVER=0.6.0
+BRANCH=stable-0.6
 
 DEB=${PACKAGE}_${SDVER}-${PKGREL}_amd64.deb
 
@@ -16,13 +17,12 @@ ${DEB} deb: ${SDSRC}
        tar xf ${SDSRC}
        cp -av debian ${SDDIR}/debian
        cd ${SDDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
-       lintian ${DEB}
+       lintian -X copyright-file ${DEB}
 
 .PHONY: download
 ${SDSRC} download:
        rm -rf ${SDDIR} sheepdog.git
-       git clone git://github.com/collie/sheepdog.git sheepdog.git
-       #cd sheepdog.git; git checkout -b local v${SDVER}
+       git clone git://github.com/collie/sheepdog.git sheepdog.git -b ${BRANCH}
        rsync -a --exclude .git --exclude .gitignore sheepdog.git/ ${SDDIR} 
        tar czf ${SDSRC}.tmp  ${SDDIR}
        rm -rf ${SDDIR}