X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=61c3485a73d49a136c7dbb25efceb1ab7f969869;hb=f0f30448f9b56b8c0f7c93f5157b49e3ceda4267;hp=4febdcc4922d252bccb1cd832f6c3b0c13253c75;hpb=af736d4d0b2a16ea137c28b6e2840fae7fbba1b3;p=qemu-server.git diff --git a/Makefile b/Makefile index 4febdcc..61c3485 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION=5.0 PACKAGE=qemu-server -PKGREL=17 +PKGREL=26 CFLAGS= -O2 -Werror -Wall -Wtype-limits -Wl,-z,relro @@ -20,7 +20,7 @@ export PERLDIR=${PREFIX}/share/perl5 PERLINCDIR=${PERLDIR}/asm-x86_64 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb