Show More
@@ -164,10 +164,12 b' osx:' | |||||
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 | mkdir -p $${OUTPUTDIR:-dist} |
|
166 | mkdir -p $${OUTPUTDIR:-dist} | |
167 | pkgbuild --root build/mercurial/ --identifier org.mercurial-scm.mercurial \ |
|
|||
168 | build/mercurial.pkg |
|
|||
169 | HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ |
|
167 | HGVER=$$((cat build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py; echo 'print(version)') | python) && \ | |
170 | OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ |
|
168 | OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \ | |
|
169 | pkgbuild --root build/mercurial/ \ | |||
|
170 | --identifier org.mercurial-scm.mercurial \ | |||
|
171 | --version "$${HGVER}" \ | |||
|
172 | build/mercurial.pkg && \ | |||
171 | productbuild --distribution contrib/macosx/distribution.xml \ |
|
173 | productbuild --distribution contrib/macosx/distribution.xml \ | |
172 | --package-path build/ \ |
|
174 | --package-path build/ \ | |
173 | --version "$${HGVER}" \ |
|
175 | --version "$${HGVER}" \ |
General Comments 0
You need to be logged in to leave comments.
Login now