From e201439604daaf27c593496a5ff28416b81dee9d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franc=CC=A7ois=20Pottier?= <francois.pottier@inria.fr>
Date: Fri, 7 Jan 2022 10:48:22 +0100
Subject: [PATCH] [make setup]: do not automatically invoke [make -C fuzz
 setup].

---
 Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8eef36a..e09cb45 100644
--- a/Makefile
+++ b/Makefile
@@ -43,12 +43,19 @@ all:
 # [make setup] installs the packages that we need in whatever opam
 # switch is currently active.
 
+# Installing ocamlfind and monolith in the current switch is not
+# necessary for [make] nor [make test]; but it is necessary for
+# [make -C fuzz setup].
+
+# We do not invoke [make -C fuzz setup] here, because it is costly
+# (it can create a new switch) and is useful only to people who
+# wish to run [make test].
+
 .PHONY: setup
 setup:
 	opam install \
 	  "dune>=2.0" "cppo" "pprint>=20200410" "seq" "odoc" \
 	  "monolith" "ocamlfind"
-	make -C fuzz setup
 
 .PHONY: merlin
 merlin:
-- 
GitLab