]> git.proxmox.com Git - pve-sheepdog.git/blobdiff - Makefile
update git to stable branch
[pve-sheepdog.git] / Makefile
index 06c7a0df0d021e18ba2d69745d5974231cf2fe0c..a8a8c73b0b3569fc47e75e1fb6c32ddffd8c5067 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
-RELEASE=2.1
+RELEASE=3.0
 
 PACKAGE=pve-sheepdog
-PKGREL=4
-SDVER=0.4.0
+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}