Re: [Qemu-devel] [PATCH 2/2] Makefile: Derive "PKGVERSION" from "git describe" by default

2016-05-31 Thread Fam Zheng
On Tue, 05/31 21:05, Eric Blake wrote: > On 05/31/2016 07:31 PM, Fam Zheng wrote: > > Currently, if not specified in "./configure", QEMU_PKGVERSION will be > > empty. Write a rule in Makefile to generate a value from "git describe" > > combined with a possible git tree cleanness suffix, and write i

Re: [Qemu-devel] [PATCH 2/2] Makefile: Derive "PKGVERSION" from "git describe" by default

2016-05-31 Thread Eric Blake
On 05/31/2016 07:31 PM, Fam Zheng wrote: > Currently, if not specified in "./configure", QEMU_PKGVERSION will be > empty. Write a rule in Makefile to generate a value from "git describe" > combined with a possible git tree cleanness suffix, and write into a new > header. > > $ cat qemu-version

[Qemu-devel] [PATCH 2/2] Makefile: Derive "PKGVERSION" from "git describe" by default

2016-05-31 Thread Fam Zheng
Currently, if not specified in "./configure", QEMU_PKGVERSION will be empty. Write a rule in Makefile to generate a value from "git describe" combined with a possible git tree cleanness suffix, and write into a new header. $ cat qemu-version.h #define QEMU_PKGVERSION "-v2.6.0-557-gd6550e9-