162 /usr/bin/python2.7 setup.py install --optimize=1 \ |
162 /usr/bin/python2.7 setup.py install --optimize=1 \ |
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 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}" \ |
174 --resources contrib/macosx/ \ |
176 --resources contrib/macosx/ \ |
175 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg |
177 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg |