equal
deleted
inserted
replaced
135 # Packaging targets |
135 # Packaging targets |
136 |
136 |
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 |
147 contrib/buildrpm |
148 contrib/buildrpm |
148 cp rpmbuild/RPMS/*/* packages/fedora |
149 cp rpmbuild/RPMS/*/* packages/fedora |