From 48059b8aba0445d1ab3b01dd81d67fbb80f9d916 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 6 Oct 2016 14:55:38 -0400 Subject: [PATCH] Factor out srcdir in the makefile. --- makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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__ -- 2.44.2