From 41ff11a6ea150d387e4b20ae03c95a467e2e752a Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 13 Aug 2009 21:49:42 +0000 Subject: Improve explanation of how to ensure NetSurf finds its resources. svn path=/trunk/netsurf/; revision=9273 --- Docs/BUILDING-Framebuffer | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) (limited to 'Docs') diff --git a/Docs/BUILDING-Framebuffer b/Docs/BUILDING-Framebuffer index 36075226a..6c65cba1f 100644 --- a/Docs/BUILDING-Framebuffer +++ b/Docs/BUILDING-Framebuffer @@ -25,18 +25,32 @@ $ make TARGET=framebuffer - If that produces errors, you probably don't have some of NetSurf's - build dependencies installed. See "Obtaining NetSurf's dependencies" - below. Or turn off the complaining features in your - Makefile.config. You may need to "make clean" before attempting to - build after installing the dependencies. + If that produces errors, you probably don't have some of NetSurf's build + dependencies installed. See "Obtaining NetSurf's dependencies" below. + Or turn off the complaining features in your Makefile.config. You may + need to "make clean" before attempting to build after installing the + dependencies. Run NetSurf by executing the "nsfb" program: $ ./nsfb - The NETSURFRES environment variable may require setting to enable - NetSurf to find its resources. + | Note: NetSurf uses certain resources at run time. In order to find these + | resources, it searches three locations: + | + | 1. ~/.netsurf/ + | 2. $NETSURFRES/ + | 3. /usr/share/netsurf/ + | + | In the build tree, the resources are located at + | + | framebuffer/res + | + | Setting $NETSURFRES to point at the resources in the build tree + | will enable you to run NetSurf from here without installation. + | To do this, run: + | + | export NETSURFRES=`pwd`/framebuffer/res Fonts -- cgit v1.2.3