diff options
author | Ulrich Eckhardt <uli@uli-eckhardt.de> | 2017-05-12 18:50:15 +0200 |
---|---|---|
committer | Ulrich Eckhardt <uli@uli-eckhardt.de> | 2017-05-12 18:50:15 +0200 |
commit | af249bc2201bb9006d47eb203318f9cd488abe8a (patch) | |
tree | c41c42384b39a1de7c7bb30f01701c5d0825fb57 /radio.c | |
parent | 3b55f61a87003a2fe0ea8dace4e9867761853bf6 (diff) | |
download | vdr-plugin-radio-af249bc2201bb9006d47eb203318f9cd488abe8a.tar.gz vdr-plugin-radio-af249bc2201bb9006d47eb203318f9cd488abe8a.tar.bz2 |
Add GIT Version information
Diffstat (limited to 'radio.c')
-rwxr-xr-x | radio.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -20,7 +20,12 @@ #error This version of radio-plugin requires vdr >= 1.7.37 #endif -static const char *VERSION = "1.0.1"; +#ifndef GIT_REV +static const char *VERSION = "1.0.1"; +#else +static const char *VERSION = GIT_REV; +#endif + static const char *DESCRIPTION = trNOOP("Radio Background-Image/RDS-Text"); static const char *MAINMENUENTRY = trNOOP("Show RDS-Radiotext"); char *ConfigDir; |