summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 59210fa..132fff5 100644
--- a/Makefile
+++ b/Makefile
@@ -16,6 +16,9 @@ HAVE_FREETYPE2 = 1
# either define this setting here or in $VDRDIR/Make.config or in $VDRDIR/Make.global
# HAVE_VALID_FEMON = 1
+# defines the location of the graphlcd.conf file. if not defined, location = "/etc/graphlcd.conf"
+#PLUGIN_GRAPHLCDCONF = "/usr/local/etc/graphlcd.conf"
+
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g')
@@ -74,6 +77,11 @@ ifdef HAVE_VALID_FEMON
DEFINES += -DGRAPHLCD_SERVICE_FEMON_VALID
endif
+# if a valid and/or fixed femon-plugin is available
+ifdef PLUGIN_GRAPHLCDCONF
+ DEFINES += -DPLUGIN_GRAPHLCDCONF='${PLUGIN_GRAPHLCDCONF}'
+endif
+
### The object files (add further files here):