switch to using git for versioning in config.mk

This commit is contained in:
2025-04-27 17:32:44 -05:00
parent 0e3a7a84e6
commit 6cf8849391
2 changed files with 2 additions and 2 deletions

2
XD.c
View File

@ -271,7 +271,7 @@ main(int argc, char *argv[])
/* print version information */ /* print version information */
if (argc > 1 && strcmp(argv[1], "-v") == 0) { if (argc > 1 && strcmp(argv[1], "-v") == 0) {
printf("XD [number] v%s\n", VERSION); printf("XD [number] %s\n", VERSION);
return 0; return 0;
#ifdef EXPLAIN #ifdef EXPLAIN
} else if (argc > 1 && strcmp(argv[1], "-e") == 0) { } else if (argc > 1 && strcmp(argv[1], "-e") == 0) {

View File

@ -1,4 +1,4 @@
VERSION = 3.2 VERSION = `git describe --tags --abbrev=0`
PKG_CONFIG = pkg-config PKG_CONFIG = pkg-config