Makefile @ 08208fbdfd02

py3: print -> print()
author David Champion <dgc@bikeshed.us>
date Thu, 30 Jul 2020 14:43:13 -0700
parents 25b0cf6b43f5
children (none)
.PHONY: docs pubdocs

docfiles = $(shell ls docs/*.markdown)

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

docs: docs/build/index.html

pubdocs: docs
	hg -R ~/src/docs.stevelosh.com pull -u
	rsync --delete -a ./docs/build/ ~/src/docs.stevelosh.com/hg-prompt
	hg -R ~/src/docs.stevelosh.com commit -Am 'hg-prompt: Update site.'
	hg -R ~/src/docs.stevelosh.com push