added documentation target

This commit is contained in:
Stavros Polymenis 2016-09-26 16:47:52 +01:00
parent 02a1b213ff
commit f5a6765df3

View File

@ -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