vdr-1.3.38 and plugin install
Commit Message
Hi,
i failed over install plugins via make plugin-install.
The define PLUGINLIBDIR=/opt/vdr-1.3.38/lib for gcc are correct used.
But plugins installed under /opt/vdr-1.3.38/bin/opt/vdr-1.3.38/lib
from my Make.config
### The directory environment:
PREFIX = /opt/vdr-1.3.38
MANDIR = $(PREFIX)/man
BINDIR = $(PREFIX)/bin
PLUGINLIBDIR= $(PREFIX)/lib
And i wonder why "make plugins-clean" delete my installed plugins,
and not the plugins on build directory.
I've attached a possible solution.
Cu,
Andreas
@@ -192,7 +192,7 @@
plugins-clean:
@for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do $(MAKE) -C "$(PLUGINDIR)/src/$$i" clean; done
- @-rm -f $(PLUGINLIBDIR)/libvdr-*.so.$(VDRVERSION)
+ @-rm -f $(PLUGINDIR)/lib/libvdr-*.so.$(VDRVERSION)
# Install the files:
@@ -209,8 +209,8 @@
fi
plugins-install:
- @mkdir -p $(BINDIR)/$(PLUGINLIBDIR)
- @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR)
+ @mkdir -p $(PLUGINLIBDIR)
+ @cp $(PLUGINDIR)/lib/libvdr-*.so.$(VDRVERSION) $(PLUGINLIBDIR)
# Source documentation: