From 8b60e93cef9583479a385ad43cf9d72a6b718bc1 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Fri, 28 Jul 2017 15:54:45 +1000 Subject: [PATCH] 4658. [bug] Clean up build directory created by "setup.py install" immediately. [RT #45628] (cherry picked from commit e54f256bb4ca088ce63cb4259d5a68a746c47789) --- CHANGES | 3 +++ bin/python/Makefile.in | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 47eb8f191e..75bd296d37 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +4658. [bug] Clean up build directory created by "setup.py install" + immediately. [RT #45628] + 4657. [bug] rrchecker system test result could be improperly determined. [RT #45602] diff --git a/bin/python/Makefile.in b/bin/python/Makefile.in index a43a3c1d5d..fccefbc7ed 100644 --- a/bin/python/Makefile.in +++ b/bin/python/Makefile.in @@ -58,7 +58,8 @@ install:: ${TARGETS} installdirs ${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} ; \ else \ ${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} ; \ - fi \ + fi ; \ + rm -rf build \ fi uninstall::