diff --git a/META b/META new file mode 100644 index 0000000..31a82d1 --- /dev/null +++ b/META @@ -0,0 +1,6 @@ +name="sequence" +version="0.1" +description="Abstract sequences of elements, for conversion into and from data structures" +requires="" +archive(byte) = "sequence.cma" +archive(native) = "sequence.cmxa" diff --git a/Makefile b/Makefile index c4d0108..2d66f76 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,15 @@ +NAME = sequence +DOC = sequence.docdir/index.html +TARGETS = sequence.cma sequence.cmxa sequence.cmi sequence.a +LIB = $(addprefix _build/, $(TARGETS)) +INSTALL = $(LIB) sequence.mli + all: - ocamlbuild tests.native sequence.docdir/index.html + ocamlbuild tests.native $(TARGETS) $(DOC) + +install: all + ocamlfind install $(NAME) META $(INSTALL) clean: ocamlbuild -clean