]> git.dujemihanovic.xyz Git - nameless-os.git/commitdiff
Use `git describe --long` as revision number 0.1.0
authorDuje Mihanović <duje.mihanovic@skole.hr>
Sun, 8 May 2022 13:44:13 +0000 (15:44 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Sun, 8 May 2022 13:44:13 +0000 (15:44 +0200)
Makefile

index 8ffcdf86123bb9b1acee0fe0ab3746d4d339cfbb..1c00c22f46aa77b1afb10f0de892868f15dfcc94 100644 (file)
--- 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)\"