Makefile @ ae33e6b815ce

py3/unicode: adapt cmdtable entries to bytestrings
author David Champion <dgc@bikeshed.us>
date Thu, 30 Jul 2020 14:47:16 -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