233 --install-lib=/Library/Python/2.7/site-packages/ |
233 --install-lib=/Library/Python/2.7/site-packages/ |
234 make -C doc all install DESTDIR="$(PWD)/build/mercurial/" |
234 make -C doc all install DESTDIR="$(PWD)/build/mercurial/" |
235 # Place a bogon .DS_Store file in the target dir so we can be |
235 # Place a bogon .DS_Store file in the target dir so we can be |
236 # sure it doesn't get included in the final package. |
236 # sure it doesn't get included in the final package. |
237 touch build/mercurial/.DS_Store |
237 touch build/mercurial/.DS_Store |
238 # install zsh completions - this location appears to be |
|
239 # searched by default as of macOS Sierra. |
|
240 install -d build/mercurial/usr/local/share/zsh/site-functions/ |
|
241 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/_hg |
|
242 # install bash completions - there doesn't appear to be a |
|
243 # place that's searched by default for bash, so we'll follow |
|
244 # the lead of Apple's git install and just put it in a |
|
245 # location of our own. |
|
246 install -d build/mercurial/usr/local/hg/contrib/ |
|
247 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash |
|
248 make -C contrib/chg \ |
238 make -C contrib/chg \ |
249 HGPATH=/usr/local/bin/hg \ |
239 HGPATH=/usr/local/bin/hg \ |
250 PYTHON=/usr/bin/python2.7 \ |
240 PYTHON=/usr/bin/python2.7 \ |
251 DESTDIR=../../build/mercurial \ |
241 DESTDIR=../../build/mercurial \ |
252 PREFIX=/usr/local \ |
242 PREFIX=/usr/local \ |