view docs/makefile @ 6210:6ae0077e416e stable

state: allow to unvendor cbor This makes evolve fallback to an externally provided version of the `cbor` library, which in turns allows distributions such as Debian not to include the vendored `cbor.py` and rely on their own provided version instead. The price to pay is the immediate attempt to import the vendored `cbor`, to circumvent that hgdemandimport never raises `ImportError` immediately.
author Georges Racinet <georges.racinet@octobus.net>
date Fri, 01 Apr 2022 21:59:32 +0200
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