Mercurial > hg
comparison Makefile @ 23931:f86060e2b5e1 stable
osx: don't launch installer after building it with bdist_mpkg
bdist_mpkg do for some reason default to use the parameter --show ("Open with
Installer.app after building") if no parameters are specified. We do not like
that.
All the important parameters to bdist_mpkg are already specified in setup.py
and we don't have any to specify in the Makefile.
Instead, specify the parameter '--' which do no harm but will disable the
default opening of the installer. This makes it possible to build packages
"silently".
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 21 Jan 2015 05:04:46 +0100 |
parents | 272b1cc3e83e |
children | d7a90949fc18 |
comparison
equal
deleted
inserted
replaced
23930:97393540d474 | 23931:f86060e2b5e1 |
---|---|
137 | 137 |
138 osx: | 138 osx: |
139 @which bdist_mpkg >/dev/null || \ | 139 @which bdist_mpkg >/dev/null || \ |
140 (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false) | 140 (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false) |
141 rm -rf dist/mercurial-*.mpkg | 141 rm -rf dist/mercurial-*.mpkg |
142 bdist_mpkg setup.py | 142 bdist_mpkg setup.py -- |
143 mkdir -p packages/osx | 143 mkdir -p packages/osx |
144 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg | 144 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg |
145 rm -rf dist/mercurial-*.mpkg | 145 rm -rf dist/mercurial-*.mpkg |
146 | 146 |
147 fedora20: | 147 fedora20: |