summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-14 11:46:29 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-14 11:46:29 +0200
commitd9817a3ebdddc104be4129bbf33ce3342699e6d1 (patch)
tree3875d7da7d4024c076e27b4e11ab20e7228dd493
parentaf54ce4842850f228d2ac85cb47e6339fd36e9c1 (diff)
downloadvdr-d9817a3ebdddc104be4129bbf33ce3342699e6d1.tar.gz
vdr-d9817a3ebdddc104be4129bbf33ce3342699e6d1.tar.bz2
Added some 'mkdir -p' to the Makefile's 'install' target
-rw-r--r--HISTORY1
-rw-r--r--Makefile9
2 files changed, 8 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 584c759a..21bc8acd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3685,3 +3685,4 @@ Video Disk Recorder Revision History
- Now storing the channel id in the info.vdr file even if there is no EPG info
available (thanks to Andreas Brachold for reporting that there are empty info.vdr
files created in that case).
+- Added some 'mkdir -p' to the Makefile's 'install' target.
diff --git a/Makefile b/Makefile
index 12142390..28569b6e 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.76 2005/07/31 11:20:20 kls Exp $
+# $Id: Makefile 1.77 2005/08/14 11:42:20 kls Exp $
.DELETE_ON_ERROR:
@@ -183,11 +183,16 @@ plugins-clean:
# Install the files:
install:
+ @mkdir -p $(BINDIR)
@cp vdr runvdr $(BINDIR)
+ @mkdir -p $(BINDIR)/$(PLUGINLIBDIR)
+ @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR)
+ @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 $(VIDEODIR);\
+ mkdir -p $(VIDEODIR);\
cp *.conf $(VIDEODIR);\
fi