From a86e78ca92dbc9e13a7f5307d6dcdeadee6d9431 Mon Sep 17 00:00:00 2001 From: Tom Adams Date: Sun, 23 Aug 2009 20:52:47 +0100 Subject: [PATCH] PREFIX is /usr/local by default, not /usr. Fixes: FS#80 - PREFIX should not be /usr FS#84 - Installation path should default to /usr/local, not /usr --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fbc85a1..78ff400 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ LDFLAGS!=echo `pkg-config --libs gtk+-2.0 webkit-1.0 libsoup-2.4 gthread-2.0` -p all: uzbl uzblctrl -PREFIX?=$(DESTDIR)/usr +PREFIX?=$(DESTDIR)/usr/local # When compiling unit tests, compile uzbl as a library first tests: uzbl.o @@ -22,7 +22,7 @@ test-dev: uzbl XDG_DATA_HOME=./examples/data XDG_CONFIG_HOME=./examples/config ./uzbl --uri http://www.uzbl.org --verbose test-share: uzbl - XDG_DATA_HOME=/usr/share/uzbl/examples/data XDG_CONFIG_HOME=/usr/share/uzbl/examples/config ./uzbl --uri http://www.uzbl.org --verbose + XDG_DATA_HOME=${PREFIX}/share/uzbl/examples/data XDG_CONFIG_HOME=${PREFIX}/share/uzbl/examples/config ./uzbl --uri http://www.uzbl.org --verbose clean: -- 1.7.9.5