-VERSION=2.0
+VERSION=3.0
PACKAGE=dab
-PKGREL=7
+PKGREL=2
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
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}
.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