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
|
#define PRODUCT_STRING PRODUCT "/" VERSION
|
||||||
#else
|
#else
|
||||||
#define REVISION "(git: " GIT_REVISION ")"
|
#define REVISION "(git: " GIT_REVISION ")"
|
||||||
|
#ifdef GIT_VERSION
|
||||||
|
#define PRODUCT_STRING PRODUCT "/" GIT_VERSION
|
||||||
|
#else
|
||||||
#define PRODUCT_STRING PRODUCT "/" VERSION " " REVISION
|
#define PRODUCT_STRING PRODUCT "/" VERSION " " REVISION
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef COPYRIGHT
|
#ifndef COPYRIGHT
|
||||||
#define COPYRIGHT "Copyright (c) 2007-2010, Jan Vidar Krey <janvidar@extatic.org>"
|
#define COPYRIGHT "Copyright (c) 2007-2010, Jan Vidar Krey <janvidar@extatic.org>"
|
||||||
|
Loading…
Reference in New Issue
Block a user