switch to using git for versioning in config.mk
This commit is contained in:
parent
0e3a7a84e6
commit
6cf8849391
2 changed files with 2 additions and 2 deletions
2
XD.c
2
XD.c
|
|
@ -271,7 +271,7 @@ main(int argc, char *argv[])
|
|||
|
||||
/* print version information */
|
||||
if (argc > 1 && strcmp(argv[1], "-v") == 0) {
|
||||
printf("XD [number] v%s\n", VERSION);
|
||||
printf("XD [number] %s\n", VERSION);
|
||||
return 0;
|
||||
#ifdef EXPLAIN
|
||||
} else if (argc > 1 && strcmp(argv[1], "-e") == 0) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
VERSION = 3.2
|
||||
VERSION = `git describe --tags --abbrev=0`
|
||||
|
||||
PKG_CONFIG = pkg-config
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue