added documentation target
This commit is contained in:
parent
02a1b213ff
commit
f5a6765df3
7
Makefile
7
Makefile
@ -1,13 +1,18 @@
|
||||
OCB_FLAGS = -use-ocamlfind -I src # -I lib
|
||||
OCB = ocamlbuild $(OCB_FLAGS)
|
||||
PKGS = opium.unix,omd,str,batteries,tyxml,lens,ptime,ptime.clock.os,re.str,lens.ppx_deriving
|
||||
|
||||
all: web
|
||||
|
||||
web:
|
||||
$(OCB) web.native -pkgs opium.unix,omd,str,batteries,tyxml,lens,ptime,ptime.clock.os,re.str,lens.ppx_deriving
|
||||
$(OCB) web.native -pkgs $(PKGS)
|
||||
mv web.native web
|
||||
|
||||
doc_html:
|
||||
$(OCB) doc/logarion.docdir/index.html -pkgs $(PKGS)
|
||||
|
||||
clean:
|
||||
$(OCB) -clean
|
||||
rm -f src/*.{cmx,cmi,o} *.{cmx,cmi,o}
|
||||
|
||||
.PHONY: doc
|
||||
|
Loading…
x
Reference in New Issue
Block a user