##// END OF EJS Templates
osx: use bdist_mpkg.script_bdist_mpkg module instead of bdist_mpkg command...
Mads Kiilerich -
r23932:d7a90949 stable
parent child Browse files
Show More
@@ -136,10 +136,10 b' i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n'
136 # Packaging targets
136 # Packaging targets
137
137
138 osx:
138 osx:
139 @which bdist_mpkg >/dev/null || \
139 python -c 'import bdist_mpkg.script_bdist_mpkg' || \
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 python -m bdist_mpkg.script_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
General Comments 0
You need to be logged in to leave comments. Login now