diff --git a/Makefile b/Makefile index 22716720..07962205 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,7 @@ lint: pydocstyle --add-ignore=D1,D202,D301,D413 ${PYTHON_SOURCES} docs: + rm -rf docs/_build cd docs && sphinx-build -b html -d _build/doctrees . _build/html porcelain: @@ -45,7 +46,9 @@ endif build: docs rm -rf build + rm -rf dist python setup.py sdist bdist_wheel publish: porcelain branch build twine upload dist/* + rm -rf dist