summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-17 21:24:33 +0000
committerDieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de>2007-12-17 21:24:33 +0000
commita8466032abf9b44a94478d95a543227ab8f7ec98 (patch)
tree1e102d73fa50e63963ddecd3ab7ab111143c452d /Makefile
parent06df85b5eadb9f088793df157b1dc5523a626db5 (diff)
downloadvdr-plugin-live-a8466032abf9b44a94478d95a543227ab8f7ec98.tar.gz
vdr-plugin-live-a8466032abf9b44a94478d95a543227ab8f7ec98.tar.bz2
- Fixed compilation error for TNTNET Version 1.6.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1fdfbd1..e9832a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.54 2007/12/02 19:29:35 winni Exp $
+# $Id: Makefile,v 1.55 2007/12/17 21:24:33 tadi Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -42,7 +42,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)
-TNTVERS7 = $(shell if [ `tntnet-config --version | sed -e's/\.//g'` -ge "1606" ]; then echo "yes"; fi)
+TNTVERS7 = $(shell ver=`tntnet-config --version | sed -e's/\.//g'`; ver=$$(($$ver<100?$$ver*100:($$ver<1000?$$ver*10:$$ver))); if [ $$ver -ge "1606" ]; then echo "yes"; fi)
### The name of the distribution archive: