--- Makefile.orig 2001-12-31 18:14:43.000000000 -0500 +++ Makefile 2007-09-10 13:42:31.000000000 -0400 @@ -3,11 +3,11 @@ # frankhale@yahoo.com # 27 Oct 2001 -CC = g++ -CFLAGS = -g -O2 -Wall +#CC = g++ +CFLAGS += -Wall -prefix = /usr -XROOT = $(prefix)/X11R6 +prefix = ${PREFIX} +XROOT = ${LOCALBASE} DESTDIR = INCLUDES = -I$(XROOT)/include LDPATH = -L$(XROOT)/lib @@ -15,7 +15,7 @@ # If you change this, remember to change it in windowmanager.cc (line 34), # and in data/menu/default (lines 43-47, the themes section). -CONFIGURATION_PATH=/usr/share/sapphire +CONFIGURATION_PATH=${PREFIX}/share/sapphire # DEBUG = Outputs debug information DEFINES = #-DDEBUG