]> git.proxmox.com Git - dab.git/blobdiff - Makefile
add support for Ubuntu 17.04 (zesty)
[dab.git] / Makefile
index 71cb1dc0479bc204fb30f52de82adc6eb4f7830b..6113247bb078aaaabc2bd2bf5d67451aee504208 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION=2.0
+VERSION=3.0
 PACKAGE=dab
-PKGREL=7
+PKGREL=2
 
 
 SCRIPTS=                                       \
@@ -46,7 +46,8 @@ install: dab dab.1 dab.1.pod DAB.pm devices.tar.gz ${SCRIPTS}
        install -m 0644 devices.tar.gz ${DESTDIR}${DATADIR}
 
 .PHONY: deb
-deb ${DEB}: dab dab.1 DAB.pm control changelog.Debian
+deb: ${DEB}
+${DEB}: dab dab.1 DAB.pm control changelog.Debian
        rm -rf debian
        mkdir debian
        make DESTDIR=debian install
@@ -56,7 +57,7 @@ deb ${DEB}: dab dab.1 DAB.pm control changelog.Debian
        install -m 0644 changelog.Debian debian/${DOCDIR}
        echo "git clone git://git.proxmox.com/git/dab.git\\ngit checkout ${GITVERSION}" >  debian/${DOCDIR}/SOURCE
        gzip -n -9 debian/${DOCDIR}/changelog.Debian
-       dpkg-deb --build debian 
+       fakeroot dpkg-deb --build debian        
        mv debian.deb ${DEB}
        rm -rf debian
        lintian ${DEB}
@@ -84,6 +85,6 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch