summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:13:32 +0100
committermassiot <massiot@271ca591-50e6-457e-a4d7-9fbfa1de8f49>2010-03-01 00:13:32 +0100
commite9b04ae119231f5411d0652d3ef10c6f344c1549 (patch)
tree7d1d69ac80b72838741afb2edba6e676e211aac2
parentfdd677cabf27d4e45c8abc201f885f1cc2b493db (diff)
downloadmulticat-e9b04ae119231f5411d0652d3ef10c6f344c1549.tar
multicat-e9b04ae119231f5411d0652d3ef10c6f344c1549.zip
* Makefile: Take into account PREFIX.
git-svn-id: svn://svn.videolan.org/multicat/trunk@4 271ca591-50e6-457e-a4d7-9fbfa1de8f49
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4ffb1ca..88faa02 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ OBJ_AGGREGARTP = aggregartp.o util.o
OBJ_DESAGGREGARTP = desaggregartp.o util.o
OBJ_OFFSETS = offsets.o
-BIN = $(DESTDIR)/usr/bin
+PREFIX ?= /usr/local
+BIN = $(DESTDIR)/$(PREFIX)/bin
+MAN = $(DESTDIR)/$(PREFIX)/share/man/man1
all: multicat ingests aggregartp desaggregartp offsets