From e54f256bb4ca088ce63cb4259d5a68a746c47789 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] --- CHANGES | 3 +++ bin/python/Makefile.in | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7b6825a2c7..74f5cac761 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 a064c74716..adc84de958 100644 --- a/bin/python/Makefile.in +++ b/bin/python/Makefile.in @@ -56,7 +56,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::