From 18e1f7fbfd7938d3bd98ca0dd0de37e8db29d7a6 Mon Sep 17 00:00:00 2001 From: ville Date: Sun, 17 Sep 2006 14:16:37 +0000 Subject: Use --remove-destination with cp like VDR 1.4.2-2+. git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@958 e10066b5-e1e2-0310-b819-94efdf66514b --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6b1da98..4105040 100644 --- a/Makefile +++ b/Makefile @@ -154,13 +154,13 @@ mg_tables.h: scripts/genres.txt scripts/iso_639.xml scripts/musictypes.txt scrip libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) $(PLAYLIBS) $(SQLLIBS) -o $@ - @cp $@ $(LIBDIR)/$@.$(APIVERSION) + @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION) mugglei: mg_tools.o mugglei.o mg_db.o $(DB_OBJ) mg_listitem.o mg_item.o mg_item_gd.o mg_valmap.o mg_setup.o $(CXX) $(CXXFLAGS) $^ $(MILIBS) $(SQLLIBS) -o $@ install: - @cp ../../lib/libvdr-muggle*.so.* /usr/lib/vdr/ + @cp --remove-destination ../../lib/libvdr-muggle*.so.* /usr/lib/vdr/ @cp mugglei /usr/local/bin/ # @install -m 755 mugglei /usr/local/bin/ -- cgit v1.2.3