summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-09-10 14:10:51 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-09-10 14:10:51 +0200
commit2aa6df4b7ceaeef5527a46041bb505b0e638904e (patch)
treeb965ecc9610e97a4d5cb06c45c33a6800a9ef761 /newplugin
parent06debdd830bb1c3c649e6f9f866508da1e3a0587 (diff)
downloadvdr-2aa6df4b7ceaeef5527a46041bb505b0e638904e.tar.gz
vdr-2aa6df4b7ceaeef5527a46041bb505b0e638904e.tar.bz2
Added --remove-destination to the 'cp' command for binaries in the Makefiles of the plugins
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin4
1 files changed, 2 insertions, 2 deletions
diff --git a/newplugin b/newplugin
index dd491405..363baae4 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 1.29 2006/06/24 09:15:17 kls Exp $
+# $Id: newplugin 1.30 2006/09/09 12:38:35 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -124,7 +124,7 @@ all: libvdr-\$(PLUGIN).so
libvdr-\$(PLUGIN).so: \$(OBJS)
\$(CXX) \$(CXXFLAGS) -shared \$(OBJS) -o \$\@
- \@cp \$\@ \$(LIBDIR)/\$\@.\$(APIVERSION)
+ \@cp --remove-destination \$\@ \$(LIBDIR)/\$\@.\$(APIVERSION)
dist: clean
\@-rm -rf \$(TMPDIR)/\$(ARCHIVE)