Skip to content

Commit e78aeb7

Browse files
committed
Fix make lcoc when build dir is missing
Signed-off-by: Christian Heimes <cheimes@redhat.com>
1 parent 0079025 commit e78aeb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ clean:
1919
.PHONY: lcov-clean lcov-coverage lcov-report lcov-open lcov
2020
lcov-clean:
2121
rm -rf $(LCOV_INFO) $(LCOV_REPORT)
22-
find build -name '*.gc??' -delete
22+
if [ -d build ]; then find build -name '*.gc??' -delete; fi
2323

2424
lcov-coverage:
2525
WITH_GCOV=1 tox -e py27,py36

0 commit comments

Comments
 (0)