]> git.proxmox.com Git - pve-zsync.git/blobdiff - Makefile
buildsys: fix upload target
[pve-zsync.git] / Makefile
index 8cf96b7eec0adbabd89c8f75ef6029b69415033c..9e182f4e57a2133374b239200a20a639267e9f9c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
-RELEASE=4.2
+RELEASE=5.0
 
 VERSION=1.6
 PACKAGE=pve-zsync
-PKGREL=13
+PKGREL=16
 
 DESTDIR=
 PREFIX=/usr
@@ -30,7 +30,7 @@ dinstall: deb
        gzip -n pve-zsync.8.man -c9 >$@
 
 pve-zsync.8.man: pve-zsync
-       pod2man -c "Proxmox Documentation" -s 8 -r ${RELEASE} -n pve-zsync  pve-zsync pve-zsync.8.man
+       ./pve-zsync printpod | pod2man -c "Proxmox Documentation" -s 8 -r ${RELEASE} -n pve-zsync - pve-zsync.8.man
 
 .PHONY: install
 install: pve-zsync.8.man pve-zsync.8.gz
@@ -55,11 +55,12 @@ ${DEB}:
        echo "git clone git://git.proxmox.com/git/pve-storage.git\\ngit checkout ${GITVERSION}" > debian/${DOCDIR}/SOURCE
        fakeroot dpkg-deb --build debian
        mv debian.deb ${DEB}
+       lintian ${DEB}
        rm -rf debian
 
 .PHONY: clean
 clean:
-       rm -rf debian *.deb ${PACKAGE}-*.tar.gz dist *.8.man *.8.gz
+       rm -rf debian *.deb ${PACKAGE}-*.tar.gz dist *.8.man *.8.gz *.buildinfo
        find . -name '*~' -exec rm {} ';'
 
 .PHONY: distclean
@@ -68,4 +69,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+       tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch