+PN := dunshire
+SRCS := $(PN)/*.py test/*.py
+
+doc: $(SRCS) doc/source/conf.py doc/makefile
+ cd doc && $(MAKE) html
+
+.PHONY: doctest
+doctest:
+ cd doc && $(MAKE) doctest
+
+.PHONY: check
+check:
+ PYTHONPATH="." python test/
+
+.PHONY: lint
+lint:
+ pylint --rcfile=./.pylintrc $(SRCS)
+
.PHONY: clean
clean:
- rm -r __pycache__
+ rm -rf $(PN)/__pycache__ test/__pycache__ doc/build
+ rm -rf $(PN).egg-info