summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
-rw-r--r--pages/pageelems.ecpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ebc6592..a0fd7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -14,6 +14,7 @@ PLUGIN = live
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep '\#define LIVEVERSION ' setup.h | awk '{ print $$3 }' | sed -e 's/[";]//g')
+VERSINFO= $(shell ./buildutil/version-util)
### The C++ compiler and options:
@@ -57,7 +58,7 @@ ifneq ($(TNTVERS7),yes)
LIBS += httpd/libhttpd.a
endif
-DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
+DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' -DVERSION_SUFFIX='"$(VERSINFO)"'
ifeq ($(TNTVERS7),yes)
DEFINES += -DTNTVERS7
endif
diff --git a/pages/pageelems.ecpp b/pages/pageelems.ecpp
index b61e663..cd527cd 100644
--- a/pages/pageelems.ecpp
+++ b/pages/pageelems.ecpp
@@ -334,7 +334,7 @@ int update_status(1);
<div class="about_right">Michael Brückner (skiller2k1)</div>
<div class="about_head"><div><div><$ tr("Information") $></div></div></div>
<div class="about_left"><$ tr("LIVE version") $>:</div>
- <div class="about_right"><$ LIVEVERSION $></div>
+ <div class="about_right"><$ LIVEVERSION $><$ VERSION_SUFFIX $></div>
<div class="about_left"><$ tr("VDR version") $>:</div>
<div class="about_right"><$ VDRVERSION $></div>
<div class="about_head"><div><div><$ tr("Features") $></div></div></div>