From 3b6f32c91132f01b98b0609f064a3c3285d75c9b Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Tue, 21 Apr 2009 22:22:59 +0000 Subject: Add a PREFIX variable which the GTK install can use svn path=/trunk/netsurf/; revision=7212 --- Makefile.defaults | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.defaults') 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 -- cgit v1.2.3