+PN := dunshire
+SRCS := src/$(PN)/*.py src/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=src python src/test/suite.py
+
+.PHONY: lint
+lint:
+ pylint --rcfile=./.pylintrc $(SRCS)
+
.PHONY: clean
clean:
- rm -r __pycache__
+ rm -rf src/$(PN)/__pycache__ src/test/__pycache__ doc/build