about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-29 22:48:29 +0100
committernfnty <git@nfnty.se>2017-01-29 22:50:15 +0100
commitad51cca4893b214d9428248572f7d0b518c9a285 (patch)
tree85b3c6bc1752f177b5e553d7004669701fa1abbc /Makefile
parentf6fca81a9a3ab58f4838cf22fb7fb7d2f3240313 (diff)
downloadranger-ad51cca4893b214d9428248572f7d0b518c9a285.tar.gz
Makefile: `TEST_PATH_*`: Be explicit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files 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..."