summaryrefslogtreecommitdiff
path: root/Makefile.1.6
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.1.6')
-rw-r--r--Makefile.1.612
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile.1.6 b/Makefile.1.6
index c2a7abd..063bbac 100644
--- a/Makefile.1.6
+++ b/Makefile.1.6
@@ -11,11 +11,6 @@
#
PLUGIN = ripit
-LOG_FILE?=/tmp/ripit.log
-LOCK_FILE?=/tmp/ripit.process
-ABORT_FILE?=/tmp/ripit.stop
-DEFAULT_RIPIT_DIR?=/srv/AUDIO/ripped
-
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).h | awk '{ print $$6 }' | sed -e 's/[";]//g')
@@ -39,6 +34,13 @@ TMPDIR ?= /tmp
-include $(VDRDIR)/Make.config
+### Allow user defined options to overwrite defaults:
+-include Make.config
+LOG_FILE?=/tmp/ripit.log
+LOCK_FILE?=/tmp/ripit.process
+ABORT_FILE?=/tmp/ripit.stop
+DEFAULT_RIPIT_DIR?=/srv/AUDIO/ripped
+
### The version number of VDR's plugin API (taken from VDR's "config.h"):
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)