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