From 117b992716255424544587c312140e9121f568e1 Mon Sep 17 00:00:00 2001 From: ygrek Date: Thu, 18 Feb 2010 01:04:52 +0200 Subject: [PATCH] fix META, add ocamlfind usage example in README --- META | 1 + README | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/META b/META index e5ff550..be3676e 100644 --- a/META +++ b/META @@ -2,6 +2,7 @@ name="deriving" archive(byte) = "deriving.cma" archive(native) = "deriving.cmxa" description="Deriving functions from type declarations" +requires = "num" package "syntax" ( requires = "camlp4" diff --git a/README b/README index 3c8c20e..0c9e1c3 100644 --- a/README +++ b/README @@ -18,3 +18,10 @@ Any comments are very welcome. Jeremy Yallop jeremy.yallop@ed.ac.uk + +Build with ocamlbuild and install via findlib : + $ make install + +Example usage with ocamlfind : + $ ocamlfind ocamlopt -o test -linkpkg -package deriving,deriving.syntax -syntax camlp4o tests/issue2.ml + -- 2.11.4.GIT