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 X-Git-Url: https://git.dujemihanovic.xyz/contact?a=commitdiff_plain;h=382b206b88873dc777ff3acb52209aa0e6e7dab7;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)\"