]> gitweb.michael.orlitzky.com - dunshire.git/commitdiff
Tweak the makefile now that the imports work better.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 14 Oct 2016 22:48:44 +0000 (18:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 14 Oct 2016 22:48:44 +0000 (18:48 -0400)
makefile

index db76ca1b6d367bc3f693b6c9945efbee641c1fd0..b8a02711b3b0a9f63c0deacb8bc8ad7700e80e6f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,4 +1,5 @@
-SRCDIR := src/dunshire
+PN := dunshire
+SRCDIR := src/$(PN)
 SRCS := $(SRCDIR)/*.py
 
 doc: $(SRCS) doc/source/conf.py doc/makefile
@@ -11,7 +12,7 @@ check:
 
 .PHONY: lint
 lint:
-       PYTHONPATH="$(SRCDIR)" pylint --rcfile=./.pylintrc $(SRCS)
+       pylint --rcfile=./.pylintrc $(SRCS)
 
 .PHONY: clean
 clean: