]> git.proxmox.com Git - iproute2.git/blobdiff - Makefile
bump version to 4.4-2, set RELEASE=4.2
[iproute2.git] / Makefile
index 6c62713ac53092732dde570763f4166f7f223d34..90a1d650ccb74b0ede0e6b6750ed359bc727aebb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 RELEASE=4.2
 
 VERSION=4.4.0
-PKGREL=1
+PKGREL=2
 
 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