summaryrefslogtreecommitdiff
path: root/src/libwebvi
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-09-04 09:47:58 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2010-09-04 09:47:58 +0300
commit51ebf416235b616e4ef747d3bac9fa2dd9af9846 (patch)
tree78092bd3c2e90c14f11d6ef35a6aaf9010ea5584 /src/libwebvi
parentb7e902f9cd53fc3a116daaa049ac44878ab858de (diff)
downloadvdr-plugin-webvideo-51ebf416235b616e4ef747d3bac9fa2dd9af9846.tar.gz
vdr-plugin-webvideo-51ebf416235b616e4ef747d3bac9fa2dd9af9846.tar.bz2
Patches by Ville Skyttä: templatepath in webvi.plugin.conf, DESTDIR in
Makefile, fix typos
Diffstat (limited to 'src/libwebvi')
-rw-r--r--src/libwebvi/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libwebvi/Makefile b/src/libwebvi/Makefile
index 131c4a7..fc68277 100644
--- a/src/libwebvi/Makefile
+++ b/src/libwebvi/Makefile
@@ -1,4 +1,5 @@
PREFIX ?= /usr/local
+SYSLIBDIR = $(PREFIX)/lib
LIBNAME=libwebvi.so
LIBSONAME=$(LIBNAME).0
@@ -27,8 +28,8 @@ clean:
rm -f webvi/*.pyc webvi/*~
install: $(LIBMINOR)
- mkdir -p $(PREFIX)/lib
- cp --remove-destination -d $(LIBNAME)* $(PREFIX)/lib
- /sbin/ldconfig $(PREFIX)/lib
+ mkdir -p $(DESTDIR)$(SYSLIBDIR)
+ cp --remove-destination -d $(LIBNAME)* $(DESTDIR)$(SYSLIBDIR)
+ /sbin/ldconfig $${DESTDIR:+-N} $(DESTDIR)$(SYSLIBDIR)
.PHONY: clean install