From 6601d4c8cfe062f61196ef6f4e2ade0156c3345c Mon Sep 17 00:00:00 2001 From: Dieter Hametner Date: Wed, 16 Jan 2008 01:05:16 +0100 Subject: Added files that use the version-util result. --- Makefile | 3 ++- pages/pageelems.ecpp | 2 +- 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);
Michael Brückner (skiller2k1)
<$ tr("Information") $>
<$ tr("LIVE version") $>:
-
<$ LIVEVERSION $>
+
<$ LIVEVERSION $><$ VERSION_SUFFIX $>
<$ tr("VDR version") $>:
<$ VDRVERSION $>
<$ tr("Features") $>
-- cgit v1.2.3