From a39bce33f2ba301fb1d48efbfc910f7756fe4bca Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 8 Apr 2021 16:07:16 +0100 Subject: [PATCH] Makefile: Honour new CARGO_DOC_OPTS variable This can be used to limit the number of rustdoc processes when running autotests. Signed-off-by: Ian Jackson --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 50a920ba..a671eee5 100644 --- a/Makefile +++ b/Makefile @@ -198,11 +198,11 @@ stamp/cargo-wdt.debug: $(call rsrcs,.) $(stamp) stamp/cargo.doc: $(call rsrcs,.) - $(CARGO) doc --workspace 2>&1 | egrep -vf .cargo-doc-suppress-errors + $(CARGO) doc $(CARGO_DOC_OPTS) --workspace 2>&1 |egrep -vf .cargo-doc-suppress-errors $(stamp) stamp/cargo.doc-otter-only: $(call rsrcs,.) - $(CARGO) doc --workspace -p otter --no-deps + $(CARGO) doc $(CARGO_DOC_OPTS) --workspace -p otter --no-deps $(stamp) $(addprefix stamp/cargo.wasm-,$(DR)):: \ -- 2.30.2