summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorville <ville@e10066b5-e1e2-0310-b819-94efdf66514b>2006-04-29 16:26:41 +0000
committerville <ville@e10066b5-e1e2-0310-b819-94efdf66514b>2006-04-29 16:26:41 +0000
commit8abc02b62a620b300c36d438a6d9a180f61a5881 (patch)
tree2585e2c7329bd7d7aa18c15d90e74a5a77b6ae68 /Makefile
parent9795ee122bbeea561fb776a2f48fe907308d902a (diff)
downloadvdr-plugin-muggle-8abc02b62a620b300c36d438a6d9a180f61a5881.tar.gz
vdr-plugin-muggle-8abc02b62a620b300c36d438a6d9a180f61a5881.tar.bz2
Fix Makefile for < VDR 1.3.48.
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@940 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 48ee684..6b1da98 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ endif
### The version number of VDR (taken from VDR's "config.h"):
-APIVERSION = $(shell grep 'define APIVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell (grep 'define APIVERSION ' $(VDRDIR)/config.h || grep 'define VDRVERSION ' $(VDRDIR)/config.h) | awk '{ print $$3 }' | sed -e 's/"//g')
### The name of the distribution archive: