]> skyeroc.xyz Git - dgamelaunch/commitdiff
Git versioning in configure.ac
authorsbkelley <sb24kelley@gmail.com>
Sat, 6 Jun 2026 22:39:30 +0000 (18:39 -0400)
committersbkelley <sb24kelley@gmail.com>
Sat, 6 Jun 2026 22:39:49 +0000 (18:39 -0400)
configure.ac

index a75d2c954d90f9bc43bcf535619e865ea81dda1e..41a01d4e4c3c9d60649ec5d3e38967caf15ccf13 100644 (file)
@@ -2,7 +2,7 @@ dnl Use autoconf 2.71
 dnl (Things tend to break across versions, they're neither upwards nor
 dnl downward compatible. Blame GNU.)
 
-AC_INIT([dgamelaunch],[1.6.0-roc])
+AC_INIT([dgamelaunch],m4_esyscmd_s([`git describe --abbrev=7 --dirty --always | tr -d '\n'`]))
 AC_PREREQ([2.71])
 AC_CONFIG_SRCDIR([dgamelaunch.c])
 AC_CONFIG_HEADERS([config.h])