Mercurial > evolve
comparison docs/makefile @ 5658:398a3f0ca07a stable
packaging: use automatic variables for running test2rst.py
This script can take either file or directory path. It makes sense to only run
the script for the specific file that make tries to build and not the whole
tutorials/ directory.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 09 Nov 2020 22:37:05 +0800 |
parents | 187bd6ade465 |
children | 9d6c3e227455 |
comparison
equal
deleted
inserted
replaced
5657:6e37ce7be367 | 5658:398a3f0ca07a |
---|---|
3 .PHONY: all | 3 .PHONY: all |
4 all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico | 4 all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico |
5 $(SPHINXBUILD) . ../html/ | 5 $(SPHINXBUILD) . ../html/ |
6 | 6 |
7 tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py | 7 tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py |
8 python test2rst.py tutorials/ | 8 python test2rst.py $< |
9 | 9 |
10 tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py | 10 tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py |
11 python test2rst.py tutorials/ | 11 python test2rst.py $< |
12 | 12 |
13 static/logo-evolve.ico: static/logo-evolve.svg | 13 static/logo-evolve.ico: static/logo-evolve.svg |
14 convert -resize 36x36 $< $@ | 14 convert -resize 36x36 $< $@ |
15 | 15 |
16 .PHONY: clean | 16 .PHONY: clean |