summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3de9d6bd50..83bc027fbe 100644
--- a/Makefile
+++ b/Makefile
@@ -617,6 +617,15 @@ checkstack:
fi
@rm -f tools/checkstack
+# Make MacOS X package
+
+package-macosx: FORCE
+ make BINDIR="`pwd`"/package-macosx/root$(BINDIR) \
+ LIBDIR="`pwd`"/package-macosx/root$(LIBDIR) \
+ MANDIR="`pwd`"/package-macosx/root$(MANDIR) install
+ cd package-macosx; package root ocaml.info; \
+ tar cvf ocaml-macosx.tar ocaml.pkg
+
# Default rules
.SUFFIXES: .ml .mli .cmo .cmi .cmx