summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrwastl <mrwastl@users.sourceforge.net>2013-01-20 23:14:53 (GMT)
committermrwastl <mrwastl@users.sourceforge.net>2013-01-20 23:14:53 (GMT)
commitca5a82aadc96ce4daae7c7c68e756f9cea88ad81 (patch)
tree5529a0d072476988e5ba1cf370c3e3f8fea575c0
parent6035ca2756570938b330782d97b261cfb99f343a (diff)
downloadvdr-plugin-graphlcd-ca5a82aadc96ce4daae7c7c68e756f9cea88ad81.tar.gz
vdr-plugin-graphlcd-ca5a82aadc96ce4daae7c7c68e756f9cea88ad81.tar.bz2
consider that both VDRDIR and PLGCFG can be empty
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ba97b3..abc045e 100644
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,10 @@ APIVERSION = $(call PKGCFG,apiversion)
### Allow user defined options to overwrite defaults:
-ifeq ($(PLGCFG),)
+ifeq ($(VDRDIR),)
VDRDIR ?= ../../..
+endif
+ifeq ($(PLGCFG),)
PLGCFG = $(VDRDIR)/Make.config
endif
-include $(PLGCFG)