summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 1875f08..b9506bd 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,7 @@ VDR Plugin 'ttxtsubs' Revision History
2009-xx-xx: Version 0.x.x
- Updated French translation provided by Michaƫl Nival (Closes #49)
+- Install plug-in to lib dir with --remove-destination
2009-01-04: Version 0.0.8
- Updated Italien translation provided by Diego Pierotto
diff --git a/Makefile b/Makefile
index 405cb24..f7ea730 100644
--- a/Makefile
+++ b/Makefile
@@ -98,7 +98,7 @@ all: libvdr-$(PLUGIN).so i18n
libvdr-$(PLUGIN).so: $(OBJS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) -o $@
- @cp $@ $(LIBDIR)/$@.$(APIVERSION)
+ @cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)