aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-31 16:45:51 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-31 16:45:51 -0600
commit8700b9a2cc6441aee17b50b101d4bf6cb1f4b038 (patch)
tree10faba5a289d30751e29b34d1c179b1732721912 /Makefile
parentad264d7413704516f473595fb8ce11861e46eada (diff)
make shell configurable
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0b2609..bc31a0f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
## Requisite directories
BUILD_DIR ?= build
+SH ?= bash
$(BUILD_DIR)/stories $(BUILD_DIR):
mkdir -p $@
@@ -22,7 +23,7 @@ GENFILES := $(wildcard gen/gen_*.sh)
GENTARGETS := $(patsubst gen/gen_%.sh, $(BUILD_DIR)/%.html, $(GENFILES))
$(BUILD_DIR)/%.html:: gen/gen_%.sh | $(BUILD_DIR)
- bash $< | pandoc \
+ $(SH) $< | pandoc \
--standalone \
--embed-resources \
--template template.html \