changeset 31616:6359976b43be

osx: always purge build/mercurial before starting build This prevents stray files from previous builds from polluting newer builds.
author Augie Fackler <augie@google.com>
date Mon, 20 Mar 2017 17:58:44 -0400
parents 6dc8caccef8a
children c93cdfa131a8
files Makefile
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Mon Mar 20 17:49:47 2017 -0400
+++ b/Makefile	Mon Mar 20 17:58:44 2017 -0400
@@ -159,6 +159,7 @@
 # Packaging targets
 
 osx:
+	rm -rf build/mercurial
 	/usr/bin/python2.7 setup.py install --optimize=1 \
 	  --root=build/mercurial/ --prefix=/usr/local/ \
 	  --install-lib=/Library/Python/2.7/site-packages/