summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-15 13:07:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-15 13:07:55 +0200
commit319df53e87ee48fc81650609cec3b00b82450d73 (patch)
tree3d0625dff2d3c132694252ccd2aaf06a96e726fa /Makefile
parent8e1be83b56ee9570edce459a35e60201740f4779 (diff)
downloadvdr-319df53e87ee48fc81650609cec3b00b82450d73.tar.gz
vdr-319df53e87ee48fc81650609cec3b00b82450d73.tar.bz2
Added failsafe defaults for 'make LCLBLD=1' to the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
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