summaryrefslogtreecommitdiff
path: root/Make.config.template
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-09-01 14:03:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-09-01 14:03:45 +0200
commit13edfc13820efc784c08b7b93e73f34a73c1e80e (patch)
tree02d030f96fa1f851454f75d84f03cd323f20105d /Make.config.template
parentd3b3c43e8f0f584fc679787edc8799399f8e8d3e (diff)
downloadvdr-13edfc13820efc784c08b7b93e73f34a73c1e80e.tar.gz
vdr-13edfc13820efc784c08b7b93e73f34a73c1e80e.tar.bz2
Implemented FHS support; fixed handling config directory if only -v is given
Diffstat (limited to 'Make.config.template')
-rw-r--r--Make.config.template15
1 files changed, 13 insertions, 2 deletions
diff --git a/Make.config.template b/Make.config.template
index d51e20c7..ef463b13 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 2.8 2012/03/20 11:20:13 kls Exp $
+# $Id: Make.config.template 2.9 2012/09/01 10:31:33 kls Exp $
### The C compiler and options:
@@ -28,11 +28,22 @@ PREFIX = $(DESTDIR)/usr/local
MANDIR = $(PREFIX)/man
BINDIR = $(PREFIX)/bin
+# By default locale and plugin files are built under the source directory:
LOCDIR = ./locale
PLUGINDIR = ./PLUGINS
PLUGINLIBDIR = $(PLUGINDIR)/lib
+# By default VDR requires only one single directory to operate:
VIDEODIR = /video
-CONFDIR = $(VIDEODIR)
+# Activate the following line to build VDR according to the FHS ("File system Hierarchy Standard"):
+#USEFHS = 1
+ifdef USEFHS
+VIDEODIR = /srv/vdr/video
+CONFDIR = /var/lib/vdr
+CACHEDIR = /var/cache/vdr
+RESDIR = $(PREFIX)/share/vdr
+LOCDIR = $(PREFIX)/share/locale
+PLUGINLIBDIR = $(PREFIX)/lib/vdr
+endif
### The remote control: