]> gitweb.michael.orlitzky.com - dunshire.git/blob - makefile
Add setup.py and reorganize everything to make its "test" command happy.
[dunshire.git] / makefile
1 PN := dunshire
2 SRCS := $(PN)/*.py test/*.py
3
4 doc: $(SRCS) doc/source/conf.py doc/makefile
5 cd doc && $(MAKE) html
6
7 .PHONY: doctest
8 doctest:
9 cd doc && $(MAKE) doctest
10
11 .PHONY: check
12 check:
13 PYTHONPATH="." python test/
14
15 .PHONY: lint
16 lint:
17 pylint --rcfile=./.pylintrc $(SRCS)
18
19 .PHONY: clean
20 clean:
21 rm -rf $(PN)/__pycache__ test/__pycache__ doc/build
22 rm -rf $(PN).egg-info