summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-01 12:50:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-01 12:50:48 +0200
commit5833ea922a52f54e28d743aef6f1ed36b564ec8e (patch)
tree79e20742e8ff94c160d20432168e85672ef314be /Makefile
parentc52d64f6cbbbec4e32739f2b9349cf165f5cc848 (diff)
downloadvdr-5833ea922a52f54e28d743aef6f1ed36b564ec8e.tar.gz
vdr-5833ea922a52f54e28d743aef6f1ed36b564ec8e.tar.bz2
Added making the /video directory and copying the config files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 11639c3e..62fd8973 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.32 2002/03/29 14:20:27 kls Exp $
+# $Id: Makefile 1.33 2002/04/01 12:50:48 kls Exp $
.DELETE_ON_ERROR:
@@ -13,6 +13,8 @@ DTVDIR = ./libdtv
MANDIR = /usr/local/man
BINDIR = /usr/local/bin
+VIDEODIR = /video
+
INCLUDES = -I$(DVBDIR)/ost/include
DTVLIB = $(DTVDIR)/libdtv.a
@@ -89,9 +91,13 @@ $(DTVLIB) $(DTVDIR)/libdtv.h:
# Install the files:
install:
- cp vdr runvdr $(BINDIR)
- gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
- gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
+ @cp vdr runvdr $(BINDIR)
+ @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
+ @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
+ @if [ ! -d $(VIDEODIR) ]; then\
+ mkdir $(VIDEODIR);\
+ cp *.conf $(VIDEODIR);\
+ fi
# Housekeeping: