diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2024-10-24 20:03:03 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2024-10-24 20:03:03 -0500 |
| commit | 72685228a7aacd6daa44da3833ac2eaeb80d1e39 (patch) | |
| tree | e86bf47796f74a943fc810f89b36f100b799425e /src/Makefile | |
| parent | 46f8080b710fd4ece1f1eb56418888f8991fe27d (diff) | |
move some stuff around
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/Makefile b/src/Makefile deleted file mode 100644 index 7c7af1f..0000000 --- a/src/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -BUILD_DIR ?= build - -MARKDOWNFILES = $(wildcard md/*.md) -HTMLTARGETS = $(MARKDOWNFILES:md/%.md=$(BUILD_DIR)/stories/%.html) - -$(BUILD_DIR)/stories $(BUILD_DIR): - mkdir -p $@ - -$(BUILD_DIR)/stories/%.html: md/%.md | $(BUILD_DIR)/stories - pandoc "$<" \ - --standalone \ - --embed-resources \ - --template template.html \ - -o "$@" - -$(BUILD_DIR)/index.html: gen/gen_index.sh | $(BUILD_DIR) - bash $< | pandoc \ - --standalone \ - --embed-resources \ - --template template.html \ - -o "$@" - -all: make_dirs $(HTMLTARGETS) $(BUILD_DIR)/index.html - -.PHONY: make_dirs all - |
