summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 8cdbb003..4b91bec8 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1143,3 +1143,5 @@ Video Disk Recorder Revision History
channels.
- Checking the return value of '...FileReady...' calls in dvbapi.c for better
performance under heavy system load.
+- New 'make' target 'install', which copies the manual pages and executables
+ to their appropriate system locations.
diff --git a/Makefile b/Makefile
index ecb8f81f..11639c3e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,14 @@
# 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.32 2002/03/29 14:20:27 kls Exp $
.DELETE_ON_ERROR:
DVBDIR = ../DVB
DTVDIR = ./libdtv
+MANDIR = /usr/local/man
+BINDIR = /usr/local/bin
INCLUDES = -I$(DVBDIR)/ost/include
@@ -84,6 +86,13 @@ 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
+
# Housekeeping:
clean: