174 # place that's searched by default for bash, so we'll follow |
174 # place that's searched by default for bash, so we'll follow |
175 # the lead of Apple's git install and just put it in a |
175 # the lead of Apple's git install and just put it in a |
176 # location of our own. |
176 # location of our own. |
177 install -d build/mercurial/usr/local/hg/contrib/ |
177 install -d build/mercurial/usr/local/hg/contrib/ |
178 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash |
178 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash |
|
179 make -C contrib/chg \ |
|
180 HGPATH=/usr/local/bin/hg \ |
|
181 PYTHON=/usr/bin/python2.7 \ |
|
182 HG=/usr/local/bin/hg \ |
|
183 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \ |
|
184 DESTDIR=../../build/mercurial \ |
|
185 PREFIX=/usr/local \ |
|
186 clean install |
179 mkdir -p $${OUTPUTDIR:-dist} |
187 mkdir -p $${OUTPUTDIR:-dist} |
180 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ |
188 HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ |
181 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
189 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
182 pkgbuild --filter \\.DS_Store --root build/mercurial/ \ |
190 pkgbuild --filter \\.DS_Store --root build/mercurial/ \ |
183 --identifier org.mercurial-scm.mercurial \ |
191 --identifier org.mercurial-scm.mercurial \ |