1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added making the /video directory and copying the config files

This commit is contained in:
Klaus Schmidinger 2002-04-01 12:50:48 +02:00
parent c52d64f6cb
commit 5833ea922a
2 changed files with 12 additions and 5 deletions

View File

@ -1145,7 +1145,8 @@ Video Disk Recorder Revision History
- Checking the return value of '...FileReady...' calls in dvbapi.c for better - Checking the return value of '...FileReady...' calls in dvbapi.c for better
performance under heavy system load. performance under heavy system load.
- New 'make' target 'install', which copies the manual pages and executables - New 'make' target 'install', which copies the manual pages and executables
to their appropriate system locations. to their appropriate system locations and creates the /video directory if
it doesn't exist yet.
- Automatic hotkey assignment is now suppressed if the first entry in - Automatic hotkey assignment is now suppressed if the first entry in
commands.conf starts with a digit in the range '1'...'9', followed by a blank. commands.conf starts with a digit in the range '1'...'9', followed by a blank.
- Fixed a bug in switching back the replay mode display in time shift mode - Fixed a bug in switching back the replay mode display in time shift mode

View File

@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and # See the main source file 'vdr.c' for copyright information and
# how to reach the author. # how to reach the author.
# #
# $Id: Makefile 1.32 2002/03/29 14:20:27 kls Exp $ # $Id: Makefile 1.33 2002/04/01 12:50:48 kls Exp $
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
@ -13,6 +13,8 @@ DTVDIR = ./libdtv
MANDIR = /usr/local/man MANDIR = /usr/local/man
BINDIR = /usr/local/bin BINDIR = /usr/local/bin
VIDEODIR = /video
INCLUDES = -I$(DVBDIR)/ost/include INCLUDES = -I$(DVBDIR)/ost/include
DTVLIB = $(DTVDIR)/libdtv.a DTVLIB = $(DTVDIR)/libdtv.a
@ -89,9 +91,13 @@ $(DTVLIB) $(DTVDIR)/libdtv.h:
# Install the files: # Install the files:
install: install:
cp vdr runvdr $(BINDIR) @cp vdr runvdr $(BINDIR)
gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz @gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz @gzip -c vdr.5 > $(MANDIR)/man5/vdr.5.gz
@if [ ! -d $(VIDEODIR) ]; then\
mkdir $(VIDEODIR);\
cp *.conf $(VIDEODIR);\
fi
# Housekeeping: # Housekeeping: