mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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".
This commit is contained in:
parent
509ce58a92
commit
fc3f4381fd
2
Makefile
2
Makefile
@ -139,7 +139,7 @@ osx:
|
||||
@which bdist_mpkg >/dev/null || \
|
||||
(echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false)
|
||||
rm -rf dist/mercurial-*.mpkg
|
||||
bdist_mpkg setup.py
|
||||
bdist_mpkg setup.py --
|
||||
mkdir -p packages/osx
|
||||
N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
|
||||
rm -rf dist/mercurial-*.mpkg
|
||||
|
Loading…
Reference in New Issue
Block a user