diff website/www/Makefile @ 4566:b8119ba37707

Merge branch 'website'
author Eric S. Raymond <esr@thyrsus.com>
date Sun, 13 Nov 2011 11:18:42 -0500
parents e5d87b92983a
children 9ed905019303
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/website/www/Makefile	Sun Nov 13 11:18:42 2011 -0500
@@ -0,0 +1,23 @@
+TMP  := _tmp
+HTML := html
+
+.PHONY: help clean html linkcheck
+
+help:
+	@echo "Please use \`make <target>' where <target> is one of"
+	@echo "  html      to make standalone HTML files"
+	@echo "  linkcheck to check all external links for integrity"
+
+clean:
+	-rm -rf $(TMP)
+
+html:
+	mkdir -p $(TMP)/doctrees $(HTML)
+	sphinx-build -b html -d $(TMP)/doctrees . $(HTML)
+
+linkcheck:
+	mkdir -p $(TMP)/linkcheck $(TMP)/doctrees
+	sphinx-build -b linkcheck -d $(TMP)/doctrees . $(TMP)/linkcheck
+	@echo
+	@echo "Link check complete; look for any errors in the above output " \
+	      "or in .build/linkcheck/output.txt."

Roundup Issue Tracker: http://roundup-tracker.org/