From c45ef28573fc6eb9f41efae31ef7912d4fbc8609 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sun, 10 Sep 2006 14:40:23 +0000 Subject: Allow overriding default images from make command line --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8566609a..000f2d70 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.11 2006-09-09 23:26:16 phintuka Exp $ +# $Id: Makefile,v 1.12 2006-09-10 14:40:23 phintuka Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -45,8 +45,9 @@ endif #XINELIBOUTPUT_XINEPLUGIN = 1 #XINELIBOUTPUT_VDRPLUGIN = 1 #ENABLE_TEST_POSTPLUGINS = 1 -#DEFINES += -DNOSIGNAL_IMAGE_FILE='"/usr/share/vdr/xineliboutput/nosignal.mpv"' -#DEFINES += -DSTARTUP_IMAGE_FILE='"/usr/share/vdr/xineliboutput/logodisplay.mpv"' +#NOSIGNAL_IMAGE_FILE=/usr/share/vdr/xineliboutput/nosignal.mpv +#STARTUP_IMAGE_FILE=/usr/share/vdr/xineliboutput/logodisplay.mpv + ### ### The version number of this plugin (taken from the main source file): @@ -189,6 +190,13 @@ ifeq ($(ENABLE_TEST_POSTPLUGINS), 1) DEFINES += -DENABLE_TEST_POSTPLUGINS endif +ifdef NOSIGNAL_IMAGE_FILE + DEFINES += -DNOSIGNAL_IMAGE_FILE='"$(NOSIGNAL_IMAGE_FILE)"' +endif +ifdef STARTUP_IMAGE_FILE + DEFINES += -DSTARTUP_IMAGE_FILE='"$(STARTUP_IMAGE_FILE)"' +endif + ### ### configuration -- cgit v1.2.3