summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-03-11 15:01:01 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-03-11 15:01:01 +0100
commitccbe1905a130df54e91b34d9e53d33b359462a3e (patch)
treed40471bd25ba61582bb0e8701aea40514c8844fb /Makefile
parent3488050173884b7baa16a33cf6f8c99fcefda75d (diff)
downloadvdr-ccbe1905a130df54e91b34d9e53d33b359462a3e.tar.gz
vdr-ccbe1905a130df54e91b34d9e53d33b359462a3e.tar.bz2
The 'plugins' target of the VDR Makefile now also copies files matching the wildcard "lib$$i-*.so" (previously only "libvdr-*.so") and also descends into subdirectories of the plugin source
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 913173b8..d24d08fd 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 2.53 2013/02/24 10:40:23 kls Exp $
+# $Id: Makefile 2.54 2013/03/11 15:01:01 kls Exp $
.DELETE_ON_ERROR:
@@ -220,7 +220,7 @@ plugins: include-dir vdr.pc
INCLUDES="-I$(CWD)/include"\
$(MAKE) --no-print-directory -C "$(PLUGINDIR)/src/$$i" VDRDIR="$(CWD)" || failed="$$failed $$i";\
if [ -n "$(LCLBLD)" ] ; then\
- (cd $(PLUGINDIR)/src/$$i; for l in libvdr-*.so; do install $$l $(LIBDIR)/$$l.$(APIVERSION); done);\
+ (cd $(PLUGINDIR)/src/$$i; for l in `find -name 'libvdr-*.so' -o -name 'lib$$i-*.so'`; do install $$l $(LIBDIR)/`basename $$l`.$(APIVERSION); done);\
if [ -d $(PLUGINDIR)/src/$$i/po ]; then\
for l in `ls $(PLUGINDIR)/src/$$i/po/*.mo`; do\
install -D -m644 $$l $(LOCDIR)/`basename $$l | cut -d. -f1`/LC_MESSAGES/vdr-$$i.mo;\