summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-03-29 14:24:47 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-03-29 14:24:47 +0100
commitad1e292c2e7f4fb272ee01d8d759c313e7af7d1c (patch)
tree20b2af93e5037d6df0c800c1c97de82b8a8daab3
parentde796b51e6bcdf7b8fa04c49ae30d5fc9cfc99c9 (diff)
downloadvdr-ad1e292c2e7f4fb272ee01d8d759c313e7af7d1c.tar.gz
vdr-ad1e292c2e7f4fb272ee01d8d759c313e7af7d1c.tar.bz2
New 'make' target 'install'
-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: