]> git.proxmox.com Git - pve-sheepdog.git/blobdiff - Makefile
build: reformat debian/control
[pve-sheepdog.git] / Makefile
index 758aae85976e35a5cea132800cd57b9ad367cd4a..8a809f33bbd560cf32efa9c2060ff4b00f793dcc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.2
-
 PACKAGE=pve-sheepdog
 PKGREL=1
-SDVER=1.0.0
+SDVER=1.0.2
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
@@ -26,15 +24,13 @@ ${DEB} deb: ${SDSRC}
 .PHONY: download
 ${SDSRC} download:
        rm -rf ${SDDIR} sheepdog.git
-       git clone git://github.com/sheepdog/sheepdog.git -b v1.0 sheepdog.git
-       rsync -a --exclude .git --exclude .gitignore sheepdog.git/ ${SDDIR}
-       tar czf ${SDSRC}.tmp  ${SDDIR}
-       rm -rf ${SDDIR}
+       git clone git://github.com/sheepdog/sheepdog.git -b v1.0.2_rc0 sheepdog.git
+       cd sheepdog.git; git archive --format=tar.gz -o ../${SDSRC}.tmp v1.0 --prefix=${SDDIR}/
        mv ${SDSRC}.tmp ${SDSRC}
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
 
 clean:
 distclean: clean
@@ -42,7 +38,7 @@ distclean: clean
 
 .PHONY: clean
 clean:
-       rm -rf *~ debian/*~ *.deb *.changes *.dsc ${SDDIR} ${SDSRC}.tmp
+       rm -rf *~ debian/*~ *.deb *.changes *.buildinfo *.dsc ${SDDIR} ${SDSRC}.tmp
 
 .PHONY: dinstall
 dinstall: ${DEB}