aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Tom Adams <tom@holizz.com>2009-08-23 20:52:47 +0100
committerGravatar Tom Adams <tom@holizz.com>2009-08-26 09:44:42 +0100
commita86e78ca92dbc9e13a7f5307d6dcdeadee6d9431 (patch)
tree8865dc20d4e2b5a3aaf2b290af30f2a2586c7165 /Makefile
parent46da0c91288a9c9d20af3a92c58b1dc6a00de4f4 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files 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: