]> git.proxmox.com Git - vncterm.git/blobdiff - Makefile
depend on libpng16-16
[vncterm.git] / Makefile
index 15181e474baf3c3f2edb5e9c87acb77e36542fdd..20c6cc76c344a0188236619f82aa19ee8a148cdb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,6 @@
-RELEASE=4.0
-
 PACKAGE=vncterm
 # Note: also change version in debian/control and debian/changelog
-VERSION=1.3
+VERSION=1.4
 PACKAGERELEASE=1
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 CDATE:=$(shell date +%F)
@@ -83,7 +81,8 @@ vncterm.1: vncterm.pod
        pod2man -n $< -s 1 -r ${VERSION} <$< >$@
 
 .PHONY: deb
-${DEB} deb:
+deb: $(DEB)
+${DEB}:
        make clean
        rm -rf dest
        mkdir dest
@@ -95,16 +94,16 @@ ${DEB} deb:
        install -m 0644 copyright dest/usr/share/doc/${PACKAGE}
        install -m 0644 vncterm.1 dest/usr/share/man/man1
        install -m 0644 debian/changelog.Debian dest/usr/share/doc/${PACKAGE}
-       gzip --best dest/usr/share/man/*/*
-       gzip --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
-       dpkg-deb --build dest
+       gzip -n --best dest/usr/share/man/*/*
+       gzip -n --best dest/usr/share/doc/${PACKAGE}/changelog.Debian
+       fakeroot dpkg-deb --build dest
        mv dest.deb ${DEB}
        rm -rf dest
        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 pmg,pve --dist stretch
 
 .PHONY: clean
 clean: