Added --remove-destination to the 'cp' command for binaries in the Makefile

This commit is contained in:
Klaus Schmidinger 2006-08-20 10:46:02 +02:00
parent ef01c6d8bb
commit a7c9905236
3 changed files with 8 additions and 3 deletions

View File

@ -1809,6 +1809,8 @@ Gavin Hamill <gdh@acentral.co.uk>
Petri Hintukainen <Petri.Hintukainen@hut.fi> Petri Hintukainen <Petri.Hintukainen@hut.fi>
for suggesting to disable the use of "fadvise" in cUnbufferedFile because there for suggesting to disable the use of "fadvise" in cUnbufferedFile because there
have been several reports that it causes more problems than it solves have been several reports that it causes more problems than it solves
for suggesting to add --remove-destination to the 'cp' command for binaries in
the Makefile to avoid a crash in case a new version is installed on a running system
Marcel Schaeben <mts280@gmx.de> Marcel Schaeben <mts280@gmx.de>
for his "Easy Input" patch for his "Easy Input" patch

View File

@ -4883,3 +4883,6 @@ Video Disk Recorder Revision History
which caused long switching times or completely blank screens when switching which caused long switching times or completely blank screens when switching
between encrypted channels on the same transponder (reported by Tomas Berglund). between encrypted channels on the same transponder (reported by Tomas Berglund).
- Adapted cThread::ThreadId() to recent kernels (thanks to Ville Skyttä). - Adapted cThread::ThreadId() to recent kernels (thanks to Ville Skyttä).
- Added --remove-destination to the 'cp' command for binaries in the Makefile to
avoid a crash in case a new version is installed on a running system (suggested
by Petri Hintukainen).

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.94 2006/06/02 14:45:33 kls Exp $ # $Id: Makefile 1.95 2006/08/20 10:44:22 kls Exp $
.DELETE_ON_ERROR: .DELETE_ON_ERROR:
@ -201,7 +201,7 @@ install: install-bin install-conf install-doc install-plugins
install-bin: vdr install-bin: vdr
@mkdir -p $(BINDIR) @mkdir -p $(BINDIR)
@cp vdr runvdr $(BINDIR) @cp --remove-destination vdr runvdr $(BINDIR)
# Configuration files: # Configuration files:
@ -223,7 +223,7 @@ install-doc:
install-plugins: plugins install-plugins: plugins
@mkdir -p $(PLUGINLIBDIR) @mkdir -p $(PLUGINLIBDIR)
@cp $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(PLUGINLIBDIR) @cp --remove-destination $(PLUGINDIR)/lib/lib*-*.so.$(APIVERSION) $(PLUGINLIBDIR)
# Source documentation: # Source documentation: