summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAntti Ajanki <antti.ajanki@iki.fi>2010-09-14 20:47:17 +0300
committerAntti Ajanki <antti.ajanki@iki.fi>2010-09-14 20:47:17 +0300
commitd8489bcb53297055af4d30e3e7214bbf87c4fdb7 (patch)
tree93ce844ac26657ae1c7a6bc1e22952bd11c9fa6b /Makefile
parent9d7c1b58e70251cc77e3eabb7c35a0bf79cb5350 (diff)
downloadvdr-plugin-webvideo-d8489bcb53297055af4d30e3e7214bbf87c4fdb7.tar.gz
vdr-plugin-webvideo-d8489bcb53297055af4d30e3e7214bbf87c4fdb7.tar.bz2
Fix Debian package build scripts
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 246b325..d604294 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ all-noinstall: libwebvi vdr-plugin
all: libwebvi vdr-plugin $(LIBDIR)/libvdr-webvideo.so.$(APIVERSION) webvi.conf
vdr-plugin: libwebvi
- $(MAKE) -C src/vdr-plugin LOCALEDIR=./locale LIBDIR=. VDRDIR=$(VDRDIR) CXXFLAGS="-fPIC -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses $(CXXFLAGS)"
+ $(MAKE) -C src/vdr-plugin LOCALEDIR=./locale LIBDIR=. VDRDIR=$(VDRDIR) CXXFLAGS="-fPIC -Woverloaded-virtual -Wno-parentheses $(CXXFLAGS)"
libwebvi: build-python
$(MAKE) -C src/libwebvi all libwebvi.a
@@ -37,11 +37,11 @@ build-python: webvi.conf
webvi.conf webvi.plugin.conf: %.conf: examples/%.conf
sed 's_templatepath = /usr/local/share/webvi/templates_templatepath = $(PREFIX)/share/webvi/templates_g' < $< > $@
-$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION): vdr-plugin
+$(DESTDIR)$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION): vdr-plugin
mkdir -p $(DESTDIR)$(VDRPLUGINDIR)
cp -f src/vdr-plugin/libvdr-webvideo.so.$(APIVERSION) $(DESTDIR)$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION)
-install-vdr-plugin: vdr-plugin $(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION)
+install-vdr-plugin: $(DESTDIR)$(VDRPLUGINDIR)/libvdr-webvideo.so.$(APIVERSION)
mkdir -p $(DESTDIR)$(VDRLOCALEDIR)
cp -rf src/vdr-plugin/locale/* $(DESTDIR)$(VDRLOCALEDIR)
mkdir -p $(DESTDIR)$(VDRPLUGINCONFDIR)/webvideo