view docs/makefile @ 6138:d5759f574fd9

debian: mark build dependencies only needed for documentation This should allow building without installing these, by passing DEB_BUILD_OPTIONS=nodoc.
author Kim Alvefur <zash@zash.se>
date Fri, 07 Jan 2022 20:10:03 +0100
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