Skip to content

Instantly share code, notes, and snippets.

@jihan917
Created December 5, 2010 06:53
Show Gist options
  • Save jihan917/728890 to your computer and use it in GitHub Desktop.
Save jihan917/728890 to your computer and use it in GitHub Desktop.
patch to ocaml-3.12.0 source when I compiled it under WinSDK (msvc10) and Cygwin
diff -ru ocaml-3.12.0/ocamldoc/Makefile.nt ocaml-3.12.0-patched/ocamldoc/Makefile.nt
--- ocaml-3.12.0/ocamldoc/Makefile.nt 2010-05-28 19:21:46 +0800
+++ ocaml-3.12.0-patched/ocamldoc/Makefile.nt 2010-11-23 19:25:09 +0800
@@ -27,7 +27,7 @@
# For installation
##############
MKDIR=mkdir
-CP=cp
+CP=cp -f
OCAMLDOC=ocamldoc
OCAMLDOC_RUN=$(CAMLRUN) $(OCAMLDOC)
OCAMLDOC_OPT=$(OCAMLDOC).opt
diff -ru ocaml-3.12.0/tools/Makefile.shared ocaml-3.12.0-patched/tools/Makefile.shared
--- ocaml-3.12.0/tools/Makefile.shared 2010-06-07 14:58:41 +0800
+++ ocaml-3.12.0-patched/tools/Makefile.shared 2010-11-23 19:24:34 +0800
@@ -121,11 +121,11 @@
# To make custom toplevels (see Makefile/Makefile.nt)
-install::
- cp ocamlmktop $(BINDIR)/ocamlmktop$(EXE)
+# install::
+# cp ocamlmktop $(BINDIR)/ocamlmktop$(EXE)
-clean::
- rm -f ocamlmktop
+# clean::
+# rm -f ocamlmktop
# Converter olabl/ocaml 2.99 to ocaml 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment