ocaml/0012-suppress-spurious-alert-when-compiling-stdlib-docume.patch
Richard W.M. Jones 68671b2fe6 OCaml 5.0
2023-07-10 22:08:39 +01:00

28 lines
1.0 KiB
Diff

From ffb2022797986324213891a59c02af46269b5c17 Mon Sep 17 00:00:00 2001
From: Damien Doligez <damien.doligez@inria.fr>
Date: Mon, 17 Apr 2023 11:36:32 +0200
Subject: [PATCH 12/18] suppress spurious alert when compiling stdlib
documentation
(cherry picked from commit 5c0fb8e23865fdbf151bdbe15d91176903c284d3)
---
api_docgen/ocamldoc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/api_docgen/ocamldoc/Makefile b/api_docgen/ocamldoc/Makefile
index 1b3d5f57f7..b6419ae50d 100644
--- a/api_docgen/ocamldoc/Makefile
+++ b/api_docgen/ocamldoc/Makefile
@@ -44,7 +44,7 @@ $(libref:%=build/libref/%.odoc): build/libref/%.odoc: %.mli | build/libref
$(OCAMLDOC_RUN) -nostdlib -hide Stdlib -lib Stdlib \
-pp \
"$(AWK) -v ocamldoc=true -f ../../stdlib/expand_module_aliases.awk" \
- $(DOC_STDLIB_INCLUDES) -hide-warnings $< -dump $@
+ $(DOC_STDLIB_INCLUDES) -hide-warnings -alert -all $< -dump $@
$(compilerlibref:%=build/compilerlibref/%.odoc):\
build/compilerlibref/%.odoc: %.mli | build/compilerlibref
--
2.41.0