+PN := dunshire
+SRCDIR := src/$(PN)
+SRCS := $(SRCDIR)/*.py
+
+doc: $(SRCS) doc/source/conf.py doc/makefile
+ sphinx-apidoc -f -o doc/source $(SRCDIR)
+ cd doc && $(MAKE) html
+
+.PHONY: check
+check:
+ python test/suite.py
+
+.PHONY: lint
+lint:
+ pylint --rcfile=./.pylintrc $(SRCS)
+
.PHONY: clean
clean:
- rm -r __pycache__
+ rm -rf $(SRCDIR)/__pycache__ doc/build