comparison Makefile @ 29535:da1848f07c6a

osx: explicitly build hg with /usr/bin/python2.7 This should help avoid creating a package that depends on a custom Python, as happened when I built a package for 3.8.
author Augie Fackler <augie@google.com>
date Wed, 13 Jul 2016 10:39:33 -0400
parents cbf282da720a
children 17b3309bfdff
comparison
equal deleted inserted replaced
29534:7794e13c6a7e 29535:da1848f07c6a
154 mv -f $@.tmp $@ 154 mv -f $@.tmp $@
155 155
156 # Packaging targets 156 # Packaging targets
157 157
158 osx: 158 osx:
159 python setup.py install --optimize=1 \ 159 /usr/bin/python2.7 setup.py install --optimize=1 \
160 --root=build/mercurial/ --prefix=/usr/local/ \ 160 --root=build/mercurial/ --prefix=/usr/local/ \
161 --install-lib=/Library/Python/2.7/site-packages/ 161 --install-lib=/Library/Python/2.7/site-packages/
162 make -C doc all install DESTDIR="$(PWD)/build/mercurial/" 162 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
163 mkdir -p $${OUTPUTDIR:-dist} 163 mkdir -p $${OUTPUTDIR:-dist}
164 pkgbuild --root build/mercurial/ --identifier org.mercurial-scm.mercurial \ 164 pkgbuild --root build/mercurial/ --identifier org.mercurial-scm.mercurial \