From d8489bcb53297055af4d30e3e7214bbf87c4fdb7 Mon Sep 17 00:00:00 2001 From: Antti Ajanki Date: Tue, 14 Sep 2010 20:47:17 +0300 Subject: Fix Debian package build scripts --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3