]> git.proxmox.com Git - qemu-server.git/blobdiff - Makefile
api create: cleanup the new config log on error
[qemu-server.git] / Makefile
index 75362c6100b33c8dc1f3f0b5eac632ce20a9175d..ed95606bf1800159480cd357b38317d7abecf4cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 VERSION=5.0
 PACKAGE=qemu-server
-PKGREL=15
+PKGREL=28
 
 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