summaryrefslogtreecommitdiff
path: root/docs/Makefile
blob: bdba909ac27900fbd5737e2bb712f53de7c8d40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DIAS = $(wildcard images/*.dia)
DIA_SVGS = $(patsubst %.dia,%.svg,$(DIAS))

all: _build

images/%.svg: images/%.dia
	dia $< --export=$@ --filter=dia-svg

_build: Makefile *.rst devguide/*.rst guide/*/*.rst guide/*.rst conf.py images/*.png $(DIA_SVGS) ../README.rst ../NEWS
	python3 -m sphinx -b html . _build

linkcheck:
	python3 -m sphinx -b linkcheck -n . _build

clean:
	rm -R _build