Makefile
changeset 21559 9a9de26ad99a
parent 21255 62a2749895e4
child 21560 a9e1ab2da30d
--- a/Makefile	Tue May 27 10:31:59 2014 -0700
+++ b/Makefile	Tue May 27 11:39:22 2014 -0700
@@ -134,6 +134,14 @@
 
 # Packaging targets
 
+osx:
+	@which -s bdist_mpkg || \
+	   (echo "Missing bdist_mpkg (easy_install bdist_mpkg)"; false)
+	bdist_mpkg setup.py
+	mkdir -p build/osx
+	rm -rf dist/mercurial-*.mpkg
+	mv dist/mercurial*macosx*.zip build/osx
+
 fedora:
 	mkdir -p build/fedora
 	echo y | contrib/buildrpm