]> git.proxmox.com Git - criu.git/blobdiff - Makefile
upgrade to 2.10
[criu.git] / Makefile
index 6b864e259b8f975c9d2be20f3923aedb56f02176..10b4008b0d8c7ad19cd1121227d215c63db816d9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 RELEASE=4.0
 
 PACKAGE=criu
-PKGVER=1.6.0
+PKGVER=2.10
 DEBREL=1
 
 SRCDIR=criu
@@ -29,10 +29,10 @@ $(DEB1): $(SRCTAR)
 
 
 .PHONY: download
-download ${SRCTAR}:
-       rm -rf ${SRCDIR} ${SRCTAR} ${SRCTAR}.tmp
-       git clone https://github.com/xemul/${SRCDIR}
-       tar czf ${SRCTAR}.tmp ${SRCDIR}
+download:
+       rm -rf ${SRCDIR} ${SRCTAR}
+       git clone -b v$(PKGVER) git://github.com/xemul/$(PACKAGE).git
+       tar czf ${SRCTAR}.tmp --exclude=.git ${SRCDIR}
        mv ${SRCTAR}.tmp ${SRCTAR}
 
 .PHONY: upload