view docs/makefile @ 6495:499e4f1c83a8

tests: roughly check the amount of test files in a tarball We just need to make sure we have triple digits of test files in a tarball; actually counting every single one is probably not required, and is annoying when we want to add a separate .t file for a new feature.
author Anton Shestakov <av6@dwimlabs.net>
date Wed, 07 Jun 2023 19:57:24 -0300
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