summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-04-06 10:39:56 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-04-06 11:12:22 -0400
commitf07a4394e2a39630cc4fe67c23cb1ea1ec95313f (patch)
treef60900b228f90c8d7cef20a9db58c491e032e6ea /Makefile
parent6297f19f8744ef8fc9b93a2f70d06ca0e3b8908c (diff)
downloadpython-coveragepy-git-f07a4394e2a39630cc4fe67c23cb1ea1ec95313f.tar.gz
build: can't clean a thing until it exists!?
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f82f2ee2..847e5098 100644
--- a/Makefile
+++ b/Makefile
@@ -20,6 +20,7 @@ clean_platform:
clean: clean_platform ## Remove artifacts of test execution, installation, etc.
@echo "Cleaning..."
@-pip uninstall -yq coverage
+ @mkdir -p build # so the chmod won't fail if build doesn't exist
@chmod -R 777 build
@rm -rf build coverage.egg-info dist htmlcov
@rm -f *.bak */*.bak */*/*.bak */*/*/*.bak */*/*/*/*.bak */*/*/*/*/*.bak