mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-09-09 01:44:22 +03:00
buildsys: use git rev-parse HEAD for GITVERSION
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
2
Makefile
2
Makefile
@@ -20,7 +20,7 @@ export PERLDIR=${PREFIX}/share/perl5
|
|||||||
PERLINCDIR=${PERLDIR}/asm-x86_64
|
PERLINCDIR=${PERLDIR}/asm-x86_64
|
||||||
|
|
||||||
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
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
|
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user