also upload iproute2-doc package
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 11 Sep 2015 05:43:06 +0000 (07:43 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 11 Sep 2015 05:43:06 +0000 (07:43 +0200)
Makefile

index 96fa099..c448b6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,9 @@ SRC=iproute2-${VERSION}.orig.tar.gz
 
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
-DEBS=iproute2_${VERSION}-${PKGREL}_${ARCH}.deb
+DEBS=                                                  \
+       iproute2-doc_${VERSION}-${PKGREL}_all.deb       \
+       iproute2_${VERSION}-${PKGREL}_${ARCH}.deb
 
 all: ${DEBS}
        echo ${DEBS}
@@ -31,6 +33,7 @@ upload: ${DEBS}
        umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
        mkdir -p /pve/${RELEASE}/extra
        rm -f /pve/${RELEASE}/extra/iproute2_*.deb
+       rm -f /pve/${RELEASE}/extra/iproute2-doc_*.deb
        rm -f /pve/${RELEASE}/extra/Packages*
        cp ${DEBS} /pve/${RELEASE}/extra
        cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz