Prefer the git-describe version number if it exists.
This commit is contained in:
parent
19b9f72337
commit
977b57a385
|
@ -13,8 +13,12 @@
|
|||
#define PRODUCT_STRING PRODUCT "/" VERSION
|
||||
#else
|
||||
#define REVISION "(git: " GIT_REVISION ")"
|
||||
#ifdef GIT_VERSION
|
||||
#define PRODUCT_STRING PRODUCT "/" GIT_VERSION
|
||||
#else
|
||||
#define PRODUCT_STRING PRODUCT "/" VERSION " " REVISION
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef COPYRIGHT
|
||||
#define COPYRIGHT "Copyright (c) 2007-2010, Jan Vidar Krey <janvidar@extatic.org>"
|
||||
|
|
Loading…
Reference in New Issue