Makefile @ 73e5c322e496

Special-case arity 1/2 systems for speed
author Steve Losh <steve@stevelosh.com>
date Tue, 09 Aug 2016 19:14:27 +0000
parents 19f3ffd6181e
children 10d0e52e7ef3
.PHONY: pubdocs

quickutils.lisp: make-quickutils.lisp
	sbcl --noinform --load make-quickutils.lisp  --eval '(quit)'

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

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


docs/build/index.html: $(docfiles) $(apidoc) 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/beast
	hg -R ~/src/sjl.bitbucket.org commit -Am 'beast: Update site.'
	hg -R ~/src/sjl.bitbucket.org push