]> git.proxmox.com Git - pve-access-control.git/blobdiff - Makefile
bump release to 5.0
[pve-access-control.git] / Makefile
index a8068e7742aca221f880baa8d2769f96482d7d3c..4746f579c2f58211328b86703a58ebfbe1b9b4b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION=4.0
+VERSION=5.0
 PACKAGE=libpve-access-control
-PKGREL=23
+PKGREL=1
 
 DESTDIR=
 PREFIX=/usr
@@ -44,7 +44,7 @@ install: pveum.1 oathkeygen pveum.bash-completion
        install -d ${DESTDIR}/${MAN1DIR}
        install -d ${DESTDIR}/${DOCDIR}
        install -m 0644 pveum.1 ${DESTDIR}/${MAN1DIR}
-       gzip -9 ${DESTDIR}/${MAN1DIR}/pveum.1
+       gzip -9 -n ${DESTDIR}/${MAN1DIR}/pveum.1
        install -m 0644 -D pveum.bash-completion ${DESTDIR}${BASHCOMPLDIR}/pveum
 
 .PHONY: deb
@@ -59,15 +59,15 @@ ${DEB}:
        install -m 0644 triggers build/DEBIAN
        install -D -m 0644 copyright build/${DOCDIR}/copyright
        install -m 0644 changelog.Debian build/${DOCDIR}/
-       gzip -9 build/${DOCDIR}/changelog.Debian
-       dpkg-deb --build build  
+       gzip -9 -n build/${DOCDIR}/changelog.Debian
+       fakeroot dpkg-deb --build build
        mv build.deb ${DEB}
        #rm -rf build
        lintian ${DEB}
 
 .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 --arch ${ARCH}
 
 .PHONY: clean
 clean: