summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-29 14:57:13 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-29 14:57:13 +0100
commit913814a500ea605ca495a992236c618ecf2791d7 (patch)
tree97824739621c540d2fca05fc05c8767e0ee25e55 /Makefile
parent74b2f97c8ac65f598c79aa02c2d750c8a221d47c (diff)
downloadvdr-913814a500ea605ca495a992236c618ecf2791d7.tar.gz
vdr-913814a500ea605ca495a992236c618ecf2791d7.tar.bz2
Separated the 'install' target into several individual targets; renamed the 'plugins-install' target to 'install-plugins'1.3.41
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 21 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index f1b61e78..a6427518 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 1.83 2006/01/13 16:04:56 kls Exp $
+# $Id: Makefile 1.84 2006/01/29 14:50:34 kls Exp $
.DELETE_ON_ERROR:
@@ -199,19 +199,33 @@ plugins-clean:
# Install the files:
-install:
+install: install-bin install-conf install-doc install-plugins
+
+# VDR binary:
+
+install-bin: vdr
@mkdir -p $(BINDIR)
@cp vdr runvdr $(BINDIR)
+
+# Configuration files:
+
+install-conf:
+ @if [ ! -d $(VIDEODIR) ]; then\
+ mkdir -p $(VIDEODIR);\
+ cp *.conf $(VIDEODIR);\
+ fi
+
+# Documentation:
+
+install-doc:
@mkdir -p $(MANDIR)/man1
@mkdir -p $(MANDIR)/man5
@gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
@gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
- @if [ ! -d $(VIDEODIR) ]; then\
- mkdir -p $(VIDEODIR);\
- cp *.conf $(VIDEODIR);\
- fi
-plugins-install:
+# Plugins:
+
+install-plugins: plugins
@mkdir -p $(PLUGINLIBDIR)
@cp $(PLUGINDIR)/lib/libvdr-*.so.$(VDRVERSION) $(PLUGINLIBDIR)