summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorville <ville@e10066b5-e1e2-0310-b819-94efdf66514b>2006-09-17 14:16:37 +0000
committerville <ville@e10066b5-e1e2-0310-b819-94efdf66514b>2006-09-17 14:16:37 +0000
commit18e1f7fbfd7938d3bd98ca0dd0de37e8db29d7a6 (patch)
tree461e3911134c7cb72a44c5f2009f34fbf96a2185
parent873b44d4cfa3a5344ebdf6ee93bcb021c9d33d6f (diff)
downloadvdr-plugin-muggle-18e1f7fbfd7938d3bd98ca0dd0de37e8db29d7a6.tar.gz
vdr-plugin-muggle-18e1f7fbfd7938d3bd98ca0dd0de37e8db29d7a6.tar.bz2
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
-rw-r--r--Makefile4
1 files 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/