From af249bc2201bb9006d47eb203318f9cd488abe8a Mon Sep 17 00:00:00 2001 From: Ulrich Eckhardt Date: Fri, 12 May 2017 18:50:15 +0200 Subject: Add GIT Version information --- radio.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'radio.c') diff --git a/radio.c b/radio.c index 1853912..a7f1415 100755 --- a/radio.c +++ b/radio.c @@ -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; -- cgit v1.2.3