diff options
author | phintuka <phintuka> | 2006-09-10 14:40:23 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2006-09-10 14:40:23 +0000 |
commit | c45ef28573fc6eb9f41efae31ef7912d4fbc8609 (patch) | |
tree | ea67de07724b76d2aafe89e6fbdde02a93bfd1b8 | |
parent | a67e3216cf9ad456e6004961d1c45223b5383238 (diff) | |
download | xineliboutput-c45ef28573fc6eb9f41efae31ef7912d4fbc8609.tar.gz xineliboutput-c45ef28573fc6eb9f41efae31ef7912d4fbc8609.tar.bz2 |
Allow overriding default images from make command line
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |