X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=Makefile;h=b0045bd4fb8e6fafe31f066ed0842a0046510762;hp=1b5488482f11e6f579c556a6b3167569661a6c8e;hb=63358f40b36266a1d9df2fbb8477935d16b5f1c5;hpb=9595066e5fc6dc5e88ce694c8a822282c0c29e54 diff --git a/Makefile b/Makefile index 1b54884..b0045bd 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -VERSION=4.0 +VERSION=5.0 PACKAGE=libpve-access-control -PKGREL=20 +PKGREL=3 DESTDIR= PREFIX=/usr @@ -44,11 +44,12 @@ 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 ${DEB} -deb ${DEB}: +.PHONY: deb +deb: ${DEB} +${DEB}: rm -rf build mkdir build make DESTDIR=`pwd`/build install @@ -58,15 +59,15 @@ deb ${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: