chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
393ea1b
)
Makefile: Provide EXAMPLE_BUNDLE_FILES
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 May 2021 14:51:13 +0000
(15:51 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 23 May 2021 14:51:13 +0000
(15:51 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0d285084b4258f98126dffd73e5da3e4d59e6eb0..ecd8cbb292b5bff6a656566752088ae220af9ae9 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-156,8
+156,10
@@
cargo-debug cargo-release cargo-check cargo-doc \
cargo-wasm-debug cargo-wasm-release:: \
cargo-%: stamp/cargo.%
-examples: examples/test-bundle.zip
-examples: examples/big-bundle.zip
+EXAMPLE_BUNDLES = test-bundle big-bundle
+EXAMPLE_BUNDLE_FILES = $(foreach f, $(EXAMPLE_BUNDLES), examples/$f.zip)
+
+examples: $(EXAMPLE_BUNDLE_FILES)
.PHONY: examples
cargo-wasm: cargo-wasm-release