mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Help ext/wasm 'make snapshot' find the wasm docs dir when it's run from outside of my usual checkout structure.
FossilOrigin-Name: 0e04136bc5a72b47b476258ac234364f677d7ee50e3f3710b23f3e2c6e163df5
This commit is contained in:
@ -1193,9 +1193,11 @@ push-testing:
|
||||
########################################################################
|
||||
# If we find a copy of the sqlite.org/wasm docs checked out, copy
|
||||
# certain files over to it, noting that some need automatable edits...
|
||||
wasm.docs.home ?= ../../../wasm
|
||||
wasm.docs.found = $(if $(wildcard $(wasm.docs.home)/api-index.md),\
|
||||
$(wildcard $(wasm.docs.home)),)
|
||||
wasm.docs.home ?= $(firstword $(wildcard ../../../wasm $(HOME)/f/s/wasm))
|
||||
wasm.docs.found = $(if \
|
||||
$(wildcard $(wasm.docs.home)/api-index.md),$(wildcard $(wasm.docs.home)),)
|
||||
# ^^^ don't split between the args there, else it can introduce an extra
|
||||
# space.
|
||||
.PHONY: update-docs
|
||||
ifeq (,$(wasm.docs.found))
|
||||
update-docs:
|
||||
|
Reference in New Issue
Block a user