From: Michael Orlitzky Date: Thu, 6 Oct 2016 18:55:38 +0000 (-0400) Subject: Factor out srcdir in the makefile. X-Git-Tag: 0.1.0~194 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=48059b8aba0445d1ab3b01dd81d67fbb80f9d916;p=dunshire.git Factor out srcdir in the makefile. --- diff --git a/makefile b/makefile index eb080e7..e619d42 100644 --- a/makefile +++ b/makefile @@ -1,14 +1,16 @@ +SRCDIR := src/dunshire + .PHONY: check check: python test/suite.py .PHONY: lint lint: - PYTHONPATH="src/dunshire" pylint \ + PYTHONPATH="$(SRCDIR)" pylint \ --reports=n \ --good-names='b,c,h,A,C,G,_K,_L' \ - src/dunshire/*.py + $(SRCDIR)/*.py .PHONY: clean clean: - rm -rf src/dunshire/__pycache__ + rm -rf $(SRCDIR)/__pycache__