]> git.proxmox.com Git - iproute2.git/blobdiff - Makefile
bump version to 4.10.0-1
[iproute2.git] / Makefile
index c448b6dfe6328defa74ec79217f572b0f49f7c6c..5794a251b5fc8c82de9a0b89404c2e766629dec6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-RELEASE=4.0
+RELEASE=5.0
 
-VERSION=4.2.0
+VERSION=4.10.0
 PKGREL=1
 
 DIR=iproute2-${VERSION}
@@ -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