osx: always purge build/mercurial before starting build
authorAugie Fackler <augie@google.com>
Mon, 20 Mar 2017 17:58:44 -0400
changeset 31611 6359976b43be
parent 31610 6dc8caccef8a
child 31612 c93cdfa131a8
osx: always purge build/mercurial before starting build This prevents stray files from previous builds from polluting newer builds.
Makefile
--- 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/