~ salmonella-environment-setup (master) b912a0d7d6a3f500432b88a52536d8ec1f268731


commit b912a0d7d6a3f500432b88a52536d8ec1f268731
Author:     Peter Bex <peter.bex@xs4all.nl>
AuthorDate: Sat Jan 4 07:06:59 2014 -0500
Commit:     Peter Bex <peter.bex@xs4all.nl>
CommitDate: Sat Jan 4 07:06:59 2014 -0500

    Fix Salmonella homepage wiki->html generation by passing QWIKI_SOURCE_PATH so that it won't mess with "internal links"

diff --git a/Makefile b/Makefile
index 2341893..16cd4e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,11 @@
 CSI=/usr/local/chickens/chicken-qwiki/bin/csi
+REPORTDIR=/root/chicken-playground/root/www/salmonella-report
 
 all: index.wiki
-	$(CSI) -s ../bin/wiki2html.scm --title="CHICKEN automated tests" index.wiki > index.html
+	QWIKI_SOURCE_PATH=$(REPORTDIR) $(CSI) -s ../bin/wiki2html.scm --title="CHICKEN automated tests" index.wiki > index.html
 
 install:
-	cp index.html /root/chicken-playground/root/www/salmonella-report/
+	cp index.html $(REPORTDIR)/
 
 clean:
 	rm *~ index.html
Trap