Added --remove-destination to the 'cp' command for binaries in the Makefiles of the plugins

This commit is contained in:
Klaus Schmidinger
2006-09-10 14:10:51 +02:00
parent 06debdd830
commit 2aa6df4b7c
11 changed files with 26 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
# $Id: Makefile 1.6 2006/04/24 17:21:02 kls Exp $
# $Id: Makefile 1.7 2006/09/09 12:38:35 kls Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -67,7 +67,7 @@ all: libvdr-$(PLUGIN).so
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -lncurses -o $@
@cp $@ $(LIBDIR)/$@.$(APIVERSION)
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)