From e78aeb79f711612886d90da8ff176f0e43a62e09 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Sat, 25 Nov 2017 16:37:36 +0100 Subject: [PATCH] Fix make lcoc when build dir is missing Signed-off-by: Christian Heimes --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13d4b8b..30f98d5 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ clean: .PHONY: lcov-clean lcov-coverage lcov-report lcov-open lcov lcov-clean: rm -rf $(LCOV_INFO) $(LCOV_REPORT) - find build -name '*.gc??' -delete + if [ -d build ]; then find build -name '*.gc??' -delete; fi lcov-coverage: WITH_GCOV=1 tox -e py27,py36