--- Makefile.orig	2014-11-04 04:48:40.000000000 -0600
+++ Makefile	2016-02-11 10:52:43.000000000 -0600
@@ -2,18 +2,18 @@
 # User configurables:
 ##########################################################
 # Location where gweb should be installed to (excluding conf, dwoo dirs).
-GDESTDIR = /usr/share/ganglia-webfrontend
+GDESTDIR = @PREFIX@/share/ganglia-webfrontend
 
 # Location where default apache configuration should be installed to.
-GCONFDIR = /etc/ganglia-web
+GCONFDIR = @PREFIX@/etc/ganglia-web
 
 # Gweb statedir (where conf dir and Dwoo templates dir are stored)
-GWEB_STATEDIR = /var/lib/ganglia-web
+GWEB_STATEDIR = @PREFIX@/var/lib/ganglia-web
 
 # Gmetad rootdir (parent location of rrd folder)
-GMETAD_ROOTDIR = /var/lib/ganglia
+GMETAD_ROOTDIR = @PREFIX@/var/lib/ganglia
 
-APACHE_USER = www-data
+APACHE_USER = daemon
 ##########################################################
 
 # Gweb version