view docs/makefile @ 6906:67b8a57200f4 mercurial-6.2

ci: skip doctests on older branches We either need to install and use newer system hg that supports zstd revlog compression, or we can skip doctests because usually there are other tests that cover the same code (e.g. by testing the relevant commands).
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 24 Oct 2024 19:48:01 +0400
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