X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=c9e3c1755eb922377e1675774755b616b0b98111;hb=ad1ef9fc1c329b856c7c61f6c6e3c531bcb4af24;hp=ef8b026e7d8096a1ff99ef38d439ee87aea7f39e;hpb=31969620230aca814b61f9d1158355efdc3452b6;p=pve-access-control.git diff --git a/Makefile b/Makefile index ef8b026..c9e3c17 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ ZSHCOMPLDIR=${PREFIX}/share/zsh/vendor-completions/ export PERLDIR=${PREFIX}/share/perl5 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc @@ -58,6 +58,7 @@ install: pveum.1 oathkeygen pveum.bash-completion pveum.zsh-completion test: perl -I. ./pveum verifyapi perl -I. -T -e "use PVE::CLI::pveum; PVE::CLI::pveum->verify_api();" + make -C test check ${BUILDDIR}: rm -rf ${BUILDDIR}