aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \