view docs/makefile @ 6871:f1eefaa0ad28

tests: strip trailing slash and skip the first line in test-check-sdist.t To be able to easily compare the output of `tar -t` with other commands (such as `find`) we want to strip the trailing slash from directories and also exclude the first line in the output (which is now empty after previous sed manipulations).
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 06 Oct 2024 19:44:22 +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