From 2aa6df4b7ceaeef5527a46041bb505b0e638904e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 10 Sep 2006 14:10:51 +0200 Subject: Added --remove-destination to the 'cp' command for binaries in the Makefiles of the plugins --- newplugin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newplugin') 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 \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) -- cgit v1.2.3