# HG changeset patch # Parent 33d596f46521ea852e90cf6dbdbf3680d104134c tools/python: Clean python correctly Cleaning the python directory should call `$(PYTHON) setup.py clean` which will clean the build/ subdirectory. Otherwise, subsequent builds may be short-circuited and a stale build installed. Signed-off-by: Andrew Cooper diff -r 33d596f46521 tools/python/Makefile --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -33,6 +33,7 @@ test: .PHONY: clean clean: + $(PYTHON) setup.py clean rm -f $(XENPATH) rm -rf *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc rm -f xen/lowlevel/xl/_pyxl_types.h