Commit Diff


commit - 31e019a216e0a4c4237d60eadcd8070638b5bb9c
commit + 861dd1d409acbc59d1a4da7fbf32a03a7ba76e8a
blob - 53033522025f57298908449218d604d86f9158ba
blob + 161d3a51bf855b79769a4e1f6836737958c27c35
--- Makefile
+++ Makefile
@@ -8,6 +8,24 @@ UTILITY=$(PWD)/r7
 
 all: tests
 
+website: index.md
+	pandoc --template=./r7doc.html \
+	   	-s --toc=true \
+		--metadata title='R7' \
+		--from markdown+smart \
+		-t html -o index.html index.md
+	scp index.html root@campfire:/var/www/inda.re/r7/
+	ssh root@campfire chmod 644 /var/www/inda.re/r7/index.html
+
+documentation.html: README.md ./r7 ./r7doc.html
+	pandoc --template=./r7doc.html \
+	   	-s --toc=true \
+		--metadata title='R7 Documentation' \
+		--from markdown+smart \
+		-t html -o documentation.html README.md
+	scp documentation.html root@campfire:/var/www/inda.re/r7/
+	ssh root@campfire chmod 644 /var/www/inda.re/r7/documentation\*
+
 install:
 	cp ./r7 $(PREFIX)/bin/
 	chmod 755 $(PREFIX)/bin/r7