diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2013-01-21 01:40:50 +0100 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2013-01-21 01:40:50 +0100 |
commit | 3d01a58a8a9e59dd19f3a2c1b42d55d10c45c678 (patch) | |
tree | c6f3513c5e0b2578824a65fbfbee5604562bfce8 /Makefile | |
parent | ca5a82aadc96ce4daae7c7c68e756f9cea88ad81 (diff) | |
download | vdr-plugin-graphlcd-3d01a58a8a9e59dd19f3a2c1b42d55d10c45c678.tar.gz vdr-plugin-graphlcd-3d01a58a8a9e59dd19f3a2c1b42d55d10c45c678.tar.bz2 |
disallow inclusion of Make.config when VDR >= 1.7.33
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -37,8 +37,17 @@ APIVERSION = $(call PKGCFG,apiversion) ifeq ($(VDRDIR),) VDRDIR ?= ../../.. endif + ifeq ($(PLGCFG),) PLGCFG = $(VDRDIR)/Make.config + + # test if plgcfg is given and set to an empty value in vdr.pc + # if so: assume that VDR >= 1.7.33 and disallow Make.config + ifneq ($(wildcard $(VDRDIR)/vdr.pc),) + ifneq ($(shell grep -e '^plgcfg' $(VDRDIR)/vdr.pc),) + PLGCFG = + endif + endif endif -include $(PLGCFG) |