New 'make' target 'install'

This commit is contained in:
Klaus Schmidinger 2002-03-29 14:24:47 +01:00
parent de796b51e6
commit ad1e292c2e
2 changed files with 12 additions and 1 deletions

View File

@ -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.

View File

@ -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: