Commit 1fc22410 authored by Guillaume Melquiond's avatar Guillaume Melquiond

Restore compilation of why3doc.

parent ca5748c6
......@@ -1458,9 +1458,8 @@ $(WHY3DOCDEP): $(WHY3DOCGENERATED)
# build targets
# TODO
#byte: bin/why3doc.byte
#opt: bin/why3doc.opt
byte: bin/why3doc.byte
opt: bin/why3doc.opt
bin/why3doc.opt: lib/why3/why3.cmxa $(WHY3DOCCMX)
$(SHOW) 'Linking $@'
......@@ -1487,8 +1486,7 @@ clean_old_install::
install_no_local::
$(INSTALL) bin/why3doc.@OCAMLBEST@ $(TOOLDIR)/why3doc$(EXE)
# TODO
#install_local:: bin/why3doc
install_local:: bin/why3doc
#########
# trywhy3
......
......@@ -74,6 +74,6 @@ let pp_locate fmt id =
| None -> raise Not_found
| Some _loc ->
let lp, _, _ =
try Mlw_module.restore_path id with Not_found -> Theory.restore_path id
try Pmodule.restore_path id with Not_found -> Theory.restore_path id
in
Format.fprintf fmt "%a#%a" pp_url lp pp_anchor id
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment