[libvirt] [ocaml PATCH] doc: invoke ocamldoc with -colorize-code

Pino Toscano ptoscano at redhat.com
Mon Oct 15 14:07:01 UTC 2018


This way, the OCaml snippets are colorized.

The OCaml version required is higher than the first version shipping
ocamldoc with this option, so that can be done unconditionally.

Signed-off-by: Pino Toscano <ptoscano at redhat.com>
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index ad5a036..f119dbc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -23,7 +23,7 @@ INSTALL		= @INSTALL@
 MAKENSIS	= @MAKENSIS@
 
 OCAMLDOC        = @OCAMLDOC@
-OCAMLDOCFLAGS	:= -html -sort
+OCAMLDOCFLAGS	:= -html -sort -colorize-code
 
 SUBDIRS		= libvirt examples
 
-- 
2.17.2




More information about the libvir-list mailing list