view docs/makefile @ 6197:f1d4c9eddcc1

tests: use desc() revset instead of node hashes in test-evolve-continue.t Using desc() makes the tests less fragile if new steps are inserted, since the test output can be more easily regenerated rather than having to go and find all of the commit hashes in the input to replace them.
author Luke Granger-Brown <hg@lukegb.com>
date Mon, 14 Mar 2022 17:05:41 +0000
parents 5affbb44f135
children
line wrap: on
line source

SPHINXBUILD ?= python3 -m sphinx -b html

.PHONY: all
all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico
	$(SPHINXBUILD) . ../html/

tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py
	python3 test2rst.py $<

tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py
	python3 test2rst.py $<

static/logo-evolve.ico: static/logo-evolve.svg
	convert -resize 36x36 $< $@

.PHONY: clean
clean:
	rm -rf ../html
	rm -f static/logo-evolve.ico
	rm -f tutorials/tutorial.rst
	rm -f tutorials/topic-tutorial.rst