]> gitweb.michael.orlitzky.com - dunshire.git/blob - makefile
Fix typo in last commit.
[dunshire.git] / makefile
1 PN := dunshire
2 SRCS := $(PN)/*.py test/*.py
3
4 # Sphinx tries to keep track of which docs need to be built on its
5 # own. We could do better, but we would have to duplicate all of the
6 # information that we already gave Sphinx to make it work.
7 .PHONY: doc
8 doc:
9 cd doc && $(MAKE) html
10
11 .PHONY: doctest
12 doctest:
13 cd doc && $(MAKE) doctest
14
15 .PHONY: check
16 check:
17 PYTHONPATH="." test/__main__.py
18
19 .PHONY: lint
20 lint:
21 pylint --rcfile=./.pylintrc $(SRCS)
22
23 .PHONY: clean
24 clean:
25 rm -rf $(PN)/__pycache__ test/__pycache__ doc/build
26 rm -rf $(PN).egg-info