diff options
author | 2015-11-19 22:32:54 +0100 | |
---|---|---|
committer | 2015-12-05 08:58:19 +0100 | |
commit | d1c4ea65c490b59d34a5464554237a270063cbc9 (patch) | |
tree | e882b4b449e03987b1ab39a22e3a69364fc7913b /Makefile.build | |
parent | 05a710d636634b35d8147fe819d061e367f02591 (diff) |
Ensuring that documentation of mli code works in the presence of utf-8
characters.
Diffstat (limited to 'Makefile.build')
-rw-r--r-- | Makefile.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.build b/Makefile.build index 37c8e4c67..a4e1587d2 100644 --- a/Makefile.build +++ b/Makefile.build @@ -828,8 +828,11 @@ source-doc: mli-doc $(OCAMLDOCDIR)/coq.pdf $(OCAMLDOCDIR)/coq.tex: $(DOCMLIS:.mli=.cmi) $(OCAMLFIND) ocamldoc -latex -rectypes -I $(MYCAMLP4LIB) $(MLINCLUDES)\ - $(DOCMLIS) -t "Coq mlis documentation" \ - -intro $(OCAMLDOCDIR)/docintro -o $@ + $(DOCMLIS) -noheader -t "Coq mlis documentation" \ + -intro $(OCAMLDOCDIR)/docintro -o $@.tmp + $(OCAMLDOCDIR)/fix-ocamldoc-utf8 $@.tmp + cat $(OCAMLDOCDIR)/header.tex $@.tmp > $@ +# rm $@.tmp mli-doc: $(DOCMLIS:.mli=.cmi) $(OCAMLFIND) ocamldoc -html -rectypes -I +threads -I $(MYCAMLP4LIB) $(MLINCLUDES) \ |