view docs/makefile @ 5746:feb28638ec6c mercurial-5.6

test-compat: create a compatibility branch for Mercurial 5.6 Mercurial 5.7rc0 has been released and we're expecting 5.7 soon, so the stable branch is no longer about 5.6.
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 30 Jan 2021 20:21:19 +0800
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