From ad1e292c2e7f4fb272ee01d8d759c313e7af7d1c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 29 Mar 2002 14:24:47 +0100 Subject: New 'make' target 'install' --- HISTORY | 2 ++ Makefile | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3