X-Git-Url: https://git.proxmox.com/?p=pve-access-control.git;a=blobdiff_plain;f=Makefile;h=1c5aa0d418d424f3e7ab7176d0d418af4f7fea93;hp=05c9f637d00917e58bc920bb504e8af643d869be;hb=156fd8f7366ce745bd27c412614b79757eafa402;hpb=eecad221ba1bf0501d128dfd08475d79781ace17 diff --git a/Makefile b/Makefile index 05c9f63..1c5aa0d 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,6 @@ -RELEASE=4.1 - VERSION=4.0 PACKAGE=libpve-access-control -PKGREL=19 +PKGREL=23 DESTDIR= PREFIX=/usr @@ -46,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 @@ -60,8 +59,8 @@ 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}