From 16e9a92cd4b6e3282070376e4087eca93cc79e06 Mon Sep 17 00:00:00 2001 From: scop Date: Tue, 1 Jan 2008 15:12:08 +0000 Subject: Don't hardcode /usr/local/bin. git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@985 e10066b5-e1e2-0310-b819-94efdf66514b --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f1f40dc..1b9066d 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ DVBDIR ?= ../../../../DVB VDRDIR ?= ../../../ LIBDIR ?= ../../lib TMPDIR ?= /tmp +BINDIR ?= /usr/local/bin ### Allow user defined options to overwrite defaults: @@ -167,7 +168,7 @@ mugglei: mg_tools.o mugglei.o mg_db.o $(DB_OBJ) mg_listitem.o mg_item.o mg_item_ install: @cp --remove-destination ../../lib/libvdr-muggle*.so.* /usr/lib/vdr/ - @cp mugglei /usr/local/bin/ + @cp mugglei $(BINDIR)/ # @install -m 755 mugglei /usr/local/bin/ dist: clean mg_tables.h -- cgit v1.2.3