From: Duje Mihanović Date: Sun, 8 May 2022 13:44:13 +0000 (+0200) Subject: Use `git describe --long` as revision number X-Git-Tag: 0.1.0^0 X-Git-Url: http://git.dujemihanovic.xyz/html/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=7347996b17f93be76e35362f8a3f6ed01555a65e;p=nameless-os.git Use `git describe --long` as revision number --- diff --git a/Makefile b/Makefile index 8ffcdf8..1c00c22 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ export AS = yasm export CC = i686-elf-gcc QEMU = qemu-system-i386 -monitor stdio -GIT_REV = $(shell git rev-parse --short HEAD) +GIT_REV = $(shell git describe --long HEAD) CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"