summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2010-06-20 18:17:42 +0200
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2010-06-20 18:17:42 +0200
commit8edd4eb02751bbf45ab2833102dee3707fbbd499 (patch)
treecbfbebe9c403d896b1788f8fad124ee4d770002d /Makefile
parenta5f3edc89393f869bfc6cbcadff5b727562df88a (diff)
downloadvdr-plugin-live-8edd4eb02751bbf45ab2833102dee3707fbbd499.tar.gz
vdr-plugin-live-8edd4eb02751bbf45ab2833102dee3707fbbd499.tar.bz2
Reaction to a patch sent by Jan Willies for an other problem withcvs-commit-370
tntnet version string. Jan's patch resolved the immediate problem with regard to the updated version but was not backwards compatible for older tntnet version. My changes to the code adressed that problem and added an enhancement how to deal with that problem in the future.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3150941..0e9acf7 100644
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@ TMPDIR ?= /tmp
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
I18NTARG = $(shell if [ `echo $(APIVERSION) | tr [.] [0]` -ge "10507" ]; then echo "i18n"; fi)
-TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."00"} /^...$$/ { print $$1."0"} /^....$$/ { print $$1 }')
+TNTVERSION = $(shell tntnet-config --version | sed -e's/\.//g' | sed -e's/pre.*//g' | awk '/^..$$/ { print $$1."000"} /^...$$/ { print $$1."00"} /^....$$/ { print $$1."0" } /^.....$$/ { print $$1 }')
TNTVERS7 = $(shell ver=$(TNTVERSION); if [ $$ver -ge "1606" ]; then echo "yes"; fi)
### The name of the distribution archive: