diff --git a/pylib/Makefile b/pylib/Makefile index c3c72869f..83b2fe946 100644 --- a/pylib/Makefile +++ b/pylib/Makefile @@ -79,7 +79,7 @@ CHECKDEPS := $(shell find anki tests -name '*.py' | grep -v buildinfo.py) .PHONY: build build: $(BUILD_STEPS) $(CHECKDEPS) - rm -rf dist + rm -rf dist build python setup.py -q bdist_wheel rsync -a dist/*.whl ../dist/ diff --git a/qt/Makefile b/qt/Makefile index 115a95ca0..f5bdb480f 100644 --- a/qt/Makefile +++ b/qt/Makefile @@ -103,7 +103,7 @@ CHECKDEPS := $(shell find aqt tests -name '*.py' | grep -v buildinfo.py) .PHONY: build build: $(BUILD_STEPS) - rm -rf dist + rm -rf dist build python setup.py -q bdist_wheel rsync -a dist/*.whl ../dist/