summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ecb8f81..62fd897 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,16 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 1.31 2002/02/24 12:29:54 kls Exp $
+# $Id: Makefile 1.33 2002/04/01 12:50:48 kls Exp $
.DELETE_ON_ERROR:
DVBDIR = ../DVB
DTVDIR = ./libdtv
+MANDIR = /usr/local/man
+BINDIR = /usr/local/bin
+
+VIDEODIR = /video
INCLUDES = -I$(DVBDIR)/ost/include
@@ -84,6 +88,17 @@ genfontfile: genfontfile.c
$(DTVLIB) $(DTVDIR)/libdtv.h:
make -C $(DTVDIR) all
+# 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
+ @if [ ! -d $(VIDEODIR) ]; then\
+ mkdir $(VIDEODIR);\
+ cp *.conf $(VIDEODIR);\
+ fi
+
# Housekeeping:
clean: