]> git.proxmox.com Git - iproute2.git/blobdiff - Makefile
bump version to 4.10.0-1
[iproute2.git] / Makefile
index a44692a8719a6cc7d2e29af8dd51140a91189428..5794a251b5fc8c82de9a0b89404c2e766629dec6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-RELEASE=4.0
+RELEASE=5.0
 
-VERSION=4.2.0
-PKGREL=2
+VERSION=4.10.0
+PKGREL=1
 
 DIR=iproute2-${VERSION}
 SRC=iproute2-${VERSION}.orig.tar.gz
@@ -15,7 +15,8 @@ DEBS=                                                 \
 all: ${DEBS}
        echo ${DEBS}
 
-${DEBS}: ${SRC}
+.PHONY: deb
+${DEBS} deb: ${SRC}
        rm -rf ${DIR}
        tar xf ${SRC} 
        cp -a debian ${DIR}/debian
@@ -24,8 +25,7 @@ ${DEBS}: ${SRC}
 
 download:
        rm -rf iproute2-${VERSION} iproute2-${VERSION}.orig.tar.gz
-       git clone git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git iproute2-${VERSION}
-       cd iproute2-${VERSION}; git checkout v4.2.0;
+       git clone -b v${VERSION} --depth=1 git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2.git iproute2-${VERSION}
        tar czf iproute2-${VERSION}.orig.tar.gz iproute2-${VERSION}/
 
 .PHONY: upload