Show More
@@ -163,6 +163,16 osx: | |||||
163 | --root=build/mercurial/ --prefix=/usr/local/ \ |
|
163 | --root=build/mercurial/ --prefix=/usr/local/ \ | |
164 | --install-lib=/Library/Python/2.7/site-packages/ |
|
164 | --install-lib=/Library/Python/2.7/site-packages/ | |
165 | make -C doc all install DESTDIR="$(PWD)/build/mercurial/" |
|
165 | make -C doc all install DESTDIR="$(PWD)/build/mercurial/" | |
|
166 | # install zsh completions - this location appears to be | |||
|
167 | # searched by default as of macOS Sierra. | |||
|
168 | mkdir -p build/mercurial/usr/local/share/zsh/site-functions | |||
|
169 | cp contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/hg | |||
|
170 | # install bash completions - there doesn't appear to be a | |||
|
171 | # place that's searched by default for bash, so we'll follow | |||
|
172 | # the lead of Apple's git install and just put it in a | |||
|
173 | # location of our own. | |||
|
174 | mkdir -p build/mercurial/usr/local/hg/contrib | |||
|
175 | cp contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash | |||
166 | mkdir -p $${OUTPUTDIR:-dist} |
|
176 | mkdir -p $${OUTPUTDIR:-dist} | |
167 | HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ |
|
177 | HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ | |
168 | OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
|
178 | OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
@@ -25,6 +25,10 Spot-check some randomly selected files: | |||||
25 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.py 100644 0/0 |
|
25 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.py 100644 0/0 | |
26 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0 |
|
26 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyc 100644 0/0 | |
27 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0 |
|
27 | ./Library/Python/2.7/site-packages/mercurial/pure/bdiff.pyo 100644 0/0 | |
|
28 | $ grep zsh/site-functions/hg boms.txt | cut -d ' ' -f 1,2,3 | |||
|
29 | ./usr/local/share/zsh/site-functions/hg 100640 0/0 | |||
|
30 | $ grep hg-completion.bash boms.txt | cut -d ' ' -f 1,2,3 | |||
|
31 | ./usr/local/hg/contrib/hg-completion.bash 100640 0/0 | |||
28 | $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3 |
|
32 | $ egrep 'man[15]' boms.txt | cut -d ' ' -f 1,2,3 | |
29 | ./usr/local/share/man/man1 40755 0/0 |
|
33 | ./usr/local/share/man/man1 40755 0/0 | |
30 | ./usr/local/share/man/man1/hg.1 100644 0/0 |
|
34 | ./usr/local/share/man/man1/hg.1 100644 0/0 | |
@@ -40,7 +44,7 Spot-check some randomly selected files: | |||||
40 | ./Library/Python/2.7/site-packages/mercurial/localrepo.py 100644 0/0 |
|
44 | ./Library/Python/2.7/site-packages/mercurial/localrepo.py 100644 0/0 | |
41 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyc 100644 0/0 |
|
45 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyc 100644 0/0 | |
42 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyo 100644 0/0 |
|
46 | ./Library/Python/2.7/site-packages/mercurial/localrepo.pyo 100644 0/0 | |
43 | $ grep '/hg ' boms.txt | cut -d ' ' -f 1,2,3 |
|
47 | $ grep 'bin/hg ' boms.txt | cut -d ' ' -f 1,2,3 | |
44 | ./usr/local/bin/hg 100755 0/0 |
|
48 | ./usr/local/bin/hg 100755 0/0 | |
45 |
|
49 | |||
46 | Make sure the built binary uses the system Python interpreter |
|
50 | Make sure the built binary uses the system Python interpreter |
General Comments 0
You need to be logged in to leave comments.
Login now