--- htdocs/Makefile.orig	2014-12-14 15:02:04.000000000 +0000
+++ htdocs/Makefile	2014-12-14 15:02:12.000000000 +0000
@@ -9,7 +9,7 @@
 
 all: wipedir dir
 	$(substitute)
-	ln -s $(STAGEDIR)/doc/manual/netdot-manual.htm  $(STAGEDIR)/$(DIR)/help/manual.html
+	ln -s $(PREFIX)/doc/manual/netdot-manual.htm  $(STAGEDIR)/$(DIR)/help/manual.html
 
 # Wipe out dir before installing
 wipedir:
@@ -21,9 +21,3 @@ dir:
 
 	@echo "Hacking together mason permissions fix..."
 	touch $(STAGEDIR)/$(DIR)/masondata/obj/.__obj_create_marker
-	chown -R $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/masondata
-	chmod 0755 $(STAGEDIR)/$(DIR)/masondata
-# Graphs can be updated dynamically so apache needs +w
-	chown $(APACHEUSER):$(APACHEGROUP) $(STAGEDIR)/$(DIR)/img/graphs
-	chmod 0750 $(STAGEDIR)/$(DIR)/img/graphs
-
