summaryrefslogtreecommitdiff
path: root/Makefile.defaults
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2009-04-21 22:22:59 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2009-04-21 22:22:59 +0000
commit3b6f32c91132f01b98b0609f064a3c3285d75c9b (patch)
tree5f785e0012dba56552c8079fefe79344ca71fef7 /Makefile.defaults
parent168fcf0b80af36ad5ddbf3e15915323f5fd2322e (diff)
downloadnetsurf-3b6f32c91132f01b98b0609f064a3c3285d75c9b.tar.gz
netsurf-3b6f32c91132f01b98b0609f064a3c3285d75c9b.tar.bz2
Add a PREFIX variable which the GTK install can use
svn path=/trunk/netsurf/; revision=7212
Diffstat (limited to 'Makefile.defaults')
-rw-r--r--Makefile.defaults7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.defaults b/Makefile.defaults
index 3db267dd5..c09065c74 100644
--- a/Makefile.defaults
+++ b/Makefile.defaults
@@ -73,6 +73,9 @@ NETSURF_USE_LIBICONV_PLUG := YES
# Initial CFLAGS. Optimisation level etc. tend to be target specific.
CFLAGS :=
+# Default installation/execution prefix
+PREFIX := /usr/local
+
# ----------------------------------------------------------------------------
# RISC OS-specific options
# ----------------------------------------------------------------------------
@@ -110,10 +113,10 @@ ifeq ($(TARGET),gtk)
# Where to search for NetSurf's resources after looking in ~/.netsurf and
# $NETSURFRES. It must have a trailing /
- NETSURF_GTK_RESOURCES := /usr/local/share/netsurf/
+ NETSURF_GTK_RESOURCES := $(PREFIX)/share/netsurf/
# Where to install the netsurf binary
- NETSURF_GTK_BIN := /usr/local/bin/
+ NETSURF_GTK_BIN := $(PREFIX)/bin/
# Enable NetSurf's use of librsvg in conjunction with Cairo to display SVGs
# Valid options: YES, NO, AUTO