From: Ian Jackson Date: Tue, 12 Jan 2021 23:24:16 +0000 (+0000) Subject: make (just) shapelib docs if you ask for shapelib X-Git-Tag: otter-0.3.0~48 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e3b7603df328550f3826e0957e0fc9b37adda5f7;p=otter.git make (just) shapelib docs if you ask for shapelib Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index ed516434..7a94a56f 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ src=. default: all check doc all: debug everything: debug doc release check bundled-sources -shapelib: templates/shapelib.html +shapelib: templates/shapelib.html stamp/cargo.doc-otter-only #---------- funky macros etc. ---------- @@ -169,6 +169,10 @@ stamp/cargo.doc: $(call rsrcs,.) $(CARGO) doc --workspace 2>&1 | egrep -vf .cargo-doc-suppress-errors $(stamp) +stamp/cargo.doc-otter-only: $(call rsrcs,.) + $(CARGO) doc -p otter --no-deps + $(stamp) + $(addprefix stamp/cargo.wasm-,$(DR)):: \ stamp/cargo.wasm-%: $(call rsrcs, zcoord wasm Cargo.*) $(CARGO) build --target $(WASM) -p otter-wasm $(call cr,$*)