equal
deleted
inserted
replaced
134 mv -f $@.tmp $@ |
134 mv -f $@.tmp $@ |
135 |
135 |
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 |
146 |
146 |
147 fedora20: |
147 fedora20: |