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. ----------
$(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,$*)