diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-31 16:45:51 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2025-12-31 16:45:51 -0600 |
| commit | 8700b9a2cc6441aee17b50b101d4bf6cb1f4b038 (patch) | |
| tree | 10faba5a289d30751e29b34d1c179b1732721912 | |
| parent | ad264d7413704516f473595fb8ce11861e46eada (diff) | |
make shell configurable
| -rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 \ |
