Makefile @ 1a4608813a73

Add some documentation for the reasoner and a few missing functions
author Steve Losh <steve@stevelosh.com>
date Sun, 29 Jan 2017 22:07:19 +0000
parents 04d792fae37f
children ff7a51ce8bab
.PHONY: pubdocs

sourcefiles = $(shell ffind --full-path --literal .lisp)
docfiles = $(shell ls docs/*.markdown)
apidocs = $(shell ls docs/*reference*.markdown)

# src/utils.lisp: src/make-utilities.lisp
# 	cd src && sbcl --noinform --load make-utilities.lisp  --eval '(quit)'

$(apidocs): $(sourcefiles)
	sbcl --noinform --load docs/api.lisp  --eval '(quit)'

docs/build/index.html: $(docfiles) $(apidocs) docs/title
	cd docs && ~/.virtualenvs/d/bin/d

docs: docs/build/index.html

pubdocs: docs
	hg -R ~/src/sjl.bitbucket.org pull -u
	rsync --delete -a ./docs/build/ ~/src/sjl.bitbucket.org/cl-ggp
	hg -R ~/src/sjl.bitbucket.org commit -Am 'cl-ggp: Update site.'
	hg -R ~/src/sjl.bitbucket.org push