summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 8baa8ef..bddfb41 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,8 @@ VDR Plugin 'osdteletext' Revision History
2009-xx-xx: version 0.x.x
- More refactoring of the TxtStatus class (Thx to Sören Moch!)
+- Install plug-in to lib dir with --remove-destination as suggested
+ by Christian Wieninger (Closes #57)
2009-01-10: version 0.8.1
- Small bugfix in channel switching code
diff --git a/Makefile b/Makefile
index 6301bb8..aed4386 100644
--- a/Makefile
+++ b/Makefile
@@ -95,7 +95,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)