X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=e48e9a07212c0d09448c2a40cf4967da1586ded7;hb=6344038e97380527bef52ba48ba54cc9180c7a82;hp=511f2cc0fa17b948aeaca578c3331ad18c5b5502;hpb=e56739b9f432a5f2dce0223158de946b3db6c0e5;p=dunshire.git diff --git a/makefile b/makefile index 511f2cc..e48e9a0 100644 --- a/makefile +++ b/makefile @@ -1,9 +1,9 @@ PN := dunshire SRCDIR := src/$(PN) +TESTDIR := src/test SRCS := $(SRCDIR)/*.py doc: $(SRCS) doc/source/conf.py doc/makefile - sphinx-apidoc -f -o doc/source $(SRCDIR) cd doc && $(MAKE) html .PHONY: doctest @@ -12,7 +12,7 @@ doctest: .PHONY: check check: - python test/suite.py + PYTHONPATH=src python $(TESTDIR)/suite.py .PHONY: lint lint: @@ -20,4 +20,4 @@ lint: .PHONY: clean clean: - rm -rf $(SRCDIR)/__pycache__ doc/build + rm -rf $(SRCDIR)/__pycache__ $(TESTDIR)/__pycache__ doc/build