X-Git-Url: https://git.proxmox.com/?p=qemu-server.git;a=blobdiff_plain;f=Makefile;h=88bedb38c61ea6ea293c4721908f3392d31aee43;hp=b44368210baf7985d9d9a37ae28a4fea1e5ac79f;hb=75a38a04f53e182c419791655a9d7245527c0b93;hpb=45cc6761db6b89ae996bdefad539da0929c05a11 diff --git a/Makefile b/Makefile index b443682..88bedb3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION=5.0 PACKAGE=qemu-server -PKGREL=21 +PKGREL=34 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