diff options
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | Make.config.template | 3 | ||||
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | vdr.c | 4 | ||||
-rw-r--r-- | videodir.c | 4 |
6 files changed, 14 insertions, 6 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 480994b5..6b199f25 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -534,6 +534,8 @@ Dennis Noordsij <dennis.noordsij@wiral.com> Steffen Barszus <st_barszus@gmx.de> for reporting a bug in switching audio tracks in 'Transfer Mode' on the primary DVB device + for making the program use the values of VIDEODIR and PLUGINDIR defined in Makefile + or Makefile.config as defaults Peter Seyringer <e9425234@student.tuwien.ac.at> for reporting a bug in saving the polarization parameter of channels that have a @@ -2279,3 +2279,5 @@ Video Disk Recorder Revision History CA recording (thanks to Emil Naepflein). - Fixed a possible crash in case a VFAT file system is used without compiling VDR with VFAT=1 (thanks to Ernst Fürst for reporting this one). +- Now the program uses the values of VIDEODIR and PLUGINDIR defined in Makefile + or Makefile.config as defaults (thanks to Steffen Barszus). diff --git a/Make.config.template b/Make.config.template index 774abbf7..ff5946ff 100644 --- a/Make.config.template +++ b/Make.config.template @@ -6,7 +6,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Make.config.template 1.1 2002/11/01 14:05:36 kls Exp $ +# $Id: Make.config.template 1.2 2003/08/02 14:25:53 kls Exp $ ### The C compiler and options: @@ -22,4 +22,5 @@ DVBDIR = ../DVB MANDIR = /usr/local/man BINDIR = /usr/local/bin +PLUGINDIR= ./PLUGINS VIDEODIR = /video @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 1.56 2003/01/06 12:28:09 kls Exp $ +# $Id: Makefile 1.57 2003/08/02 14:27:21 kls Exp $ .DELETE_ON_ERROR: @@ -49,6 +49,9 @@ DEFINES += -DREMOTE_$(REMOTE) DEFINES += -D_GNU_SOURCE +DEFINES += -DVIDEODIR=\"$(VIDEODIR)\" +DEFINES += -DPLUGINDIR=\"$(PLUGINDIR)/lib\" + ifdef DEBUG_OSD DEFINES += -DDEBUG_OSD NCURSESLIB = -lncurses @@ -22,7 +22,7 @@ * * The project's page is at http://www.cadsoft.de/vdr * - * $Id: vdr.c 1.161 2003/06/15 14:35:05 kls Exp $ + * $Id: vdr.c 1.162 2003/08/02 14:01:32 kls Exp $ */ #include <getopt.h> @@ -93,7 +93,7 @@ int main(int argc, char *argv[]) #define DEFAULTSVDRPPORT 2001 #define DEFAULTWATCHDOG 0 // seconds -#define DEFAULTPLUGINDIR "./PLUGINS/lib" +#define DEFAULTPLUGINDIR PLUGINDIR int SVDRPport = DEFAULTSVDRPPORT; const char *AudioCommand = NULL; @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: videodir.c 1.9 2002/08/11 13:31:02 kls Exp $ + * $Id: videodir.c 1.10 2003/08/02 13:43:28 kls Exp $ */ #include "videodir.h" @@ -18,7 +18,7 @@ #include <unistd.h> #include "tools.h" -const char *VideoDirectory = "/video"; +const char *VideoDirectory = VIDEODIR; class cVideoDirectory { private: |