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_FLAGS = -use-ocamlfind -I src # -I lib
|
||||||
OCB = ocamlbuild $(OCB_FLAGS)
|
OCB = ocamlbuild $(OCB_FLAGS)
|
||||||
|
PKGS = opium.unix,omd,str,batteries,tyxml,lens,ptime,ptime.clock.os,re.str,lens.ppx_deriving
|
||||||
|
|
||||||
all: web
|
all: web
|
||||||
|
|
||||||
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
|
mv web.native web
|
||||||
|
|
||||||
|
doc_html:
|
||||||
|
$(OCB) doc/logarion.docdir/index.html -pkgs $(PKGS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(OCB) -clean
|
$(OCB) -clean
|
||||||
rm -f src/*.{cmx,cmi,o} *.{cmx,cmi,o}
|
rm -f src/*.{cmx,cmi,o} *.{cmx,cmi,o}
|
||||||
|
|
||||||
|
.PHONY: doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user