docs/Makefile
raw| 1 | DIAS = $(wildcard images/*.dia) |
| 2 | DIA_SVGS = $(patsubst %.dia,%.svg,$(DIAS)) |
| 3 | |
| 4 | all: _build |
| 5 | |
| 6 | images/%.svg: images/%.dia |
| 7 | dia $< --export=$@ --filter=dia-svg |
| 8 | |
| 9 | _build: Makefile *.rst devguide/*.rst guide/*/*.rst guide/*.rst conf.py images/*.png images/*.svg $(DIA_SVGS) ../README.rst ../NEWS |
| 10 | python3 -m sphinx -b html . _build |
| 11 | |
| 12 | linkcheck: |
| 13 | python3 -m sphinx -b linkcheck -n . _build |
| 14 | |
| 15 | clean: |
| 16 | rm -R _build |