From d7dc6d675b32f4d2c0cadf657c49a9828ead2a9f Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Wed, 25 Aug 2010 22:27:43 +0300 Subject: install examples/webvi*.conf in Makefile --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3