##// END OF EJS Templates
osx: create dmg with installer instead of zip...
Mads Kiilerich -
r22358:198e2da3 default
parent child Browse files
Show More
@@ -137,10 +137,11 b' i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n'
137 osx:
137 osx:
138 @which bdist_mpkg >/dev/null || \
138 @which bdist_mpkg >/dev/null || \
139 (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false)
139 (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false)
140 rm -rf dist/mercurial-*.mpkg
140 bdist_mpkg setup.py
141 bdist_mpkg setup.py
141 mkdir -p packages/osx
142 mkdir -p packages/osx
143 N=`cd dist && echo mercurial-*.mpkg | sed 's,\.mpkg$$,,'` && hdiutil create -srcfolder dist/$$N.mpkg/ -scrub -volname "$$N" -ov packages/osx/$$N.dmg
142 rm -rf dist/mercurial-*.mpkg
144 rm -rf dist/mercurial-*.mpkg
143 mv dist/mercurial*macosx*.zip packages/osx
144
145
145 fedora:
146 fedora:
146 mkdir -p packages/fedora
147 mkdir -p packages/fedora
@@ -583,7 +583,7 b" setup(name='mercurial',"
583 cmdclass=cmdclass,
583 cmdclass=cmdclass,
584 distclass=hgdist,
584 distclass=hgdist,
585 options={'py2exe': {'packages': ['hgext', 'email']},
585 options={'py2exe': {'packages': ['hgext', 'email']},
586 'bdist_mpkg': {'zipdist': True,
586 'bdist_mpkg': {'zipdist': False,
587 'license': 'COPYING',
587 'license': 'COPYING',
588 'readme': 'contrib/macosx/Readme.html',
588 'readme': 'contrib/macosx/Readme.html',
589 'welcome': 'contrib/macosx/Welcome.html',
589 'welcome': 'contrib/macosx/Welcome.html',
General Comments 0
You need to be logged in to leave comments. Login now