From ad51cca4893b214d9428248572f7d0b518c9a285 Mon Sep 17 00:00:00 2001 From: nfnty Date: Sun, 29 Jan 2017 22:48:29 +0100 Subject: Makefile: `TEST_PATH_*`: Be explicit --- Makefile | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index f31053e4..7b87a607 100644 --- a/Makefile +++ b/Makefile @@ -61,11 +61,17 @@ doc: cleandoc find . -name \*.html -exec sed -i 's|'"$(CWD)"'|../..|g' -- {} \; TEST_PATHS_MAIN = \ - $(shell find ranger -mindepth 1 -maxdepth 1 -type d -and -not -name '__pycache__' -and -not -path 'ranger/config' -and -not -path 'ranger/data') \ - ranger/__init__.py \ - $(shell find . '(' -path './ranger' -or -path './tests' ')' -prune -or -type f -name '*.py' -print) \ - tests -TEST_PATH_CONFIG = ranger/config + $(shell find ./ranger -mindepth 1 -maxdepth 1 -type d \ + -and -not -name '__pycache__' \ + -and -not -path './ranger/config' \ + -and -not -path './ranger/data' \ + ) \ + ./ranger/__init__.py \ + $(shell find ./doc/tools ./examples -type f -name '*.py') \ + ./ranger.py \ + ./setup.py \ + ./tests +TEST_PATH_CONFIG = ./ranger/config test_pylint: @echo "Running pylint..." -- cgit 1.4.1-2-gfad0