Makefile
branchstable
changeset 23932 d7a90949fc18
parent 23931 f86060e2b5e1
child 23940 d0ef40776999
equal deleted inserted replaced
23931:f86060e2b5e1 23932:d7a90949fc18
   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: