summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-08-25 22:27:43 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2010-08-25 22:27:43 +0300
commitd7dc6d675b32f4d2c0cadf657c49a9828ead2a9f (patch)
treef3c2d045addb844f24bd09cb1bc429606f9bd005 /Makefile
parent2e849b6887264222d3cade5293a5f07b6776875b (diff)
downloadvdr-plugin-webvideo-d7dc6d675b32f4d2c0cadf657c49a9828ead2a9f.tar.gz
vdr-plugin-webvideo-d7dc6d675b32f4d2c0cadf657c49a9828ead2a9f.tar.bz2
install examples/webvi*.conf in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 899da9e..b069d07 100644
--- a/Makefile
+++ b/Makefile
@@ -35,7 +35,10 @@ build-python: webvi.conf
python setup.py build
webvi.conf:
- @echo "[webvi]\n\ntemplatepath = $(PREFIX)/share/webvi/templates" > webvi.conf
+ sed 's_templatepath = /usr/local/share/webvi/templates_templatepath = $(PREFIX)/share/webvi/templates_g' < examples/webvi.conf > webvi.conf
+
+webvi.plugin.conf:
+ cp -f examples/webvi.plugin.conf webvi.plugin.conf
$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION): vdr-plugin
mkdir -p $(VDRPLUGINDIR)
@@ -53,8 +56,10 @@ install-libwebvi: libwebvi
install-python:
python setup.py install --prefix $(PREFIX)
-install-conf: webvi.conf
+install-conf: webvi.conf webvi.plugin.conf
cp -f webvi.conf /etc/
+ mkdir -p $(VDRPLUGINCONFDIR)/webvideo
+ cp -f webvi.plugin.conf $(VDRPLUGINCONFDIR)/webvideo
install-webvi: install-libwebvi install-python