The unpac monorepo manager self-hosting as a monorepo using unpac

Improve dev build script for documentation.

+3 -4
+3 -4
vendor/opam/jsonm/build
··· 18 WEBGLUE=${WEBGLUE:="webglue"} 19 20 OCAMLBUILD=${OCAMLBUILD:="ocamlbuild -classic-display -use-ocamlfind"} 21 - OCAMLDOC=${OCAMLDOC:="ocamlfind ocamldoc -colorize-code -charset utf-8"} 22 OASIS=${OASIS:="oasis -quiet"} 23 OASISQ=${OASISQ:="$OASIS query"} 24 ··· 28 case $1 in 29 module) ocb `$OASISQ Name`.cmx ;; 30 doc) 31 - ocamlbuild -ocamldoc "$OCAMLDOC" -I src -no-links \ 32 - doc/api.docdir/index.html 33 $CP doc/style.css _build/doc/api.docdir/style.css ;; 34 distrib) distrib ;; 35 publish) publish ;; ··· 133 134 if [ $# -eq 0 ]; then action module ; else 135 while [ $# -gt 0 ]; do action $1; shift ; done 136 - fi
··· 18 WEBGLUE=${WEBGLUE:="webglue"} 19 20 OCAMLBUILD=${OCAMLBUILD:="ocamlbuild -classic-display -use-ocamlfind"} 21 + OCAMLDOCFLAGS=${OCAMLDOCFLAGS:="-docflags -colorize-code,-charset,utf-8"} 22 OASIS=${OASIS:="oasis -quiet"} 23 OASISQ=${OASISQ:="$OASIS query"} 24 ··· 28 case $1 in 29 module) ocb `$OASISQ Name`.cmx ;; 30 doc) 31 + ocb $OCAMLDOCFLAGS -no-links doc/api.docdir/index.html 32 $CP doc/style.css _build/doc/api.docdir/style.css ;; 33 distrib) distrib ;; 34 publish) publish ;; ··· 132 133 if [ $# -eq 0 ]; then action module ; else 134 while [ $# -gt 0 ]; do action $1; shift ; done 135 + fi