]> gitweb.michael.orlitzky.com - dunshire.git/blob - makefile
Remove docs with `make clean`.
[dunshire.git] / makefile
1 SRCDIR := src/dunshire
2 SRCS := $(SRCDIR)/*.py
3
4 doc: $(SRCS) doc/source/conf.py doc/makefile
5 sphinx-apidoc -f -o doc/source $(SRCDIR)
6 cd doc && $(MAKE) html
7
8 .PHONY: check
9 check:
10 python test/suite.py
11
12 .PHONY: lint
13 lint:
14 PYTHONPATH="$(SRCDIR)" pylint --rcfile=./.pylintrc $(SRCS)
15
16 .PHONY: clean
17 clean:
18 rm -rf $(SRCDIR)/__pycache__ doc/build