aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
authorAndrew Cooper <andrew.cooper3@citrix.com>2012-08-17 14:46:49 +0100
committerAndrew Cooper <andrew.cooper3@citrix.com>2012-08-17 14:46:49 +0100
commitb67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b (patch)
treed21fc9b017c8defb7a007c8d5fd535e5d20c868a /tools/python
parentec5dbe86ae08ecdb2eb3d6b3c15708fd508ddbf5 (diff)
downloadxen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.tar.gz
xen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.tar.bz2
xen-b67f7b83ab2bcf7194e52ebd8b277fdcddc75a6b.zip
tools/python: Clean python correctly
Cleaning the python directory should completely remove the build/ directory, otherwise subsequent builds may be short-circuited and a stale build installed. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/python')
-rw-r--r--tools/python/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/Makefile b/tools/python/Makefile
index d2cbf70836..9be11225fa 100644
--- a/tools/python/Makefile
+++ b/tools/python/Makefile
@@ -34,7 +34,7 @@ test:
.PHONY: clean
clean:
rm -f $(XENPATH)
- rm -rf *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc
+ rm -rf build/ *.pyc *.pyo *.o *.a *~ xen/util/auxbin.pyc
rm -f xen/lowlevel/xl/_pyxl_types.h
rm -f xen/lowlevel/xl/_pyxl_types.c
rm -f $(DEPS)