comparison Makefile @ 31611: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 8e516f71577a
children fcddcf442e4f
comparison
equal deleted inserted replaced
31610:6dc8caccef8a 31611:6359976b43be
157 mv -f $@.tmp $@ 157 mv -f $@.tmp $@
158 158
159 # Packaging targets 159 # Packaging targets
160 160
161 osx: 161 osx:
162 rm -rf build/mercurial
162 /usr/bin/python2.7 setup.py install --optimize=1 \ 163 /usr/bin/python2.7 setup.py install --optimize=1 \
163 --root=build/mercurial/ --prefix=/usr/local/ \ 164 --root=build/mercurial/ --prefix=/usr/local/ \
164 --install-lib=/Library/Python/2.7/site-packages/ 165 --install-lib=/Library/Python/2.7/site-packages/
165 make -C doc all install DESTDIR="$(PWD)/build/mercurial/" 166 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
166 # install zsh completions - this location appears to be 167 # install zsh completions - this location appears to be