From: Ian Jackson Date: Sat, 12 Dec 2020 00:10:57 +0000 (+0000) Subject: If bundle-rust-sources is from PATH, don't make it a dependency X-Git-Tag: otter-0.2.0~193 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=fe79f0e3cd1e9b8f5f4d16bcf29bc2f85d564299;p=otter.git If bundle-rust-sources is from PATH, don't make it a dependency Otherwise make complains that it can't build it. Signed-off-by: Ian Jackson --- diff --git a/Makefile b/Makefile index ba478881..53a75bf4 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,7 @@ bundled-sources:: $(addprefix bundled-sources/, $(BUNDLED_SOURCES_DIRS)) TARGET_BUNDLED=$(TARGET_DIR)/bundled-sources $(addprefix bundled-sources/, $(BUNDLED_SOURCES_DIRS)): \ -bundled-sources/%: $(BUNDLE_SOURCES) +bundled-sources/%: $(wildcard $(BUNDLE_SOURCES)) set -e; d=$(abspath $(TARGET_BUNDLED)); \ $(NAILING_CARGO_JUST_RUN) mkdir -p $$d; \ $(if $(filter-out otter,$*), cd ../$*;) \