summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--Makefile10
3 files changed, 12 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 39888235..be633bd1 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -3511,6 +3511,7 @@ Stefan Herdler <herdler@gmx.de>
for reporting a bug in using the default sort mode in a video directory without a
".sort" file
for reporting faulty memory handling in cString::Append()
+ for adding failsafe defaults for 'make LCLBLD=1' to the Makefile
Tobias Faust <tobias.faust@gmx.de>
for the original "jumpingseconds" patch
diff --git a/HISTORY b/HISTORY
index 54f63c99..7f16e5cd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -9466,3 +9466,5 @@ Video Disk Recorder Revision History
- Revised 'Fixed a possible deadlock when detaching a receiver from a device' from
version 2.3.9, which sometimes caused a black screen when switching channels
(thanks to Stefan Verse).
+- Added failsafe defaults for 'make LCLBLD=1' to the Makefile (thanks to Stefan
+ Herdler).
diff --git a/Makefile b/Makefile
index b9837496..087bf83f 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 4.7 2020/06/03 12:22:05 kls Exp $
+# $Id: Makefile 4.8 2020/06/15 13:07:55 kls Exp $
.DELETE_ON_ERROR:
@@ -28,6 +28,14 @@ CWD ?= $(shell pwd)
LSIDIR ?= $(CWD)/libsi
PLUGINDIR ?= $(CWD)/PLUGINS
+# Failsafe defaults for "make LCLBLD=1":
+ifdef LCLBLD
+DESTDIR ?= $(CWD)
+LOCDIR ?= $(CWD)/locale
+HDRDIR ?= $(CWD)/include
+LIBDIR ?= $(PLUGINDIR)/lib
+endif
+
DESTDIR ?=
VIDEODIR ?= /srv/vdr/video
CONFDIR ?= /var/lib/vdr