From ba90b8fbd4a646f0b22e3302d93693a2be93e1d8 Mon Sep 17 00:00:00 2001 From: Kyle Bowman Date: Sun, 20 Apr 2025 21:22:36 -0400 Subject: [PATCH] add about page to buildlist --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index f9e8df0..bc54272 100644 --- a/Makefile +++ b/Makefile @@ -31,10 +31,18 @@ $(BUILD_DIR)/all.html: .buildlist $(BUILD_DIR)/index.html: $(SRC_DIR)/index.md $(BUILD_DIR)/$(ASSETS_DIR) @pandoc --defaults=./defaults/md-to-html-index.yml --output=$@ $< @echo "Building $@ from $<..." + +# Note: This is identical to the index rule, but I can't use a wildcard +# to express both because the target would look identical to the standard +# build rule. We might be able to merge them all. +$(BUILD_DIR)/about.html: $(SRC_DIR)/about.md $(BUILD_DIR)/$(ASSETS_DIR) + @pandoc --defaults=./defaults/md-to-html-index.yml --output=$@ $< + @echo "Building $@ from $<..." .buildlist: @echo $(BUILD_LIST) | tr ' ' '\n' > .buildlist @echo $(BUILD_DIR)/index.html >> .buildlist + @echo $(BUILD_DIR)/about.html >> .buildlist $(BUILD_DIR)/$(ASSETS_DIR): $(SRC_DIR)/$(ASSETS_DIR) mkdir -p $(BUILD_DIR)/$(ASSETS_DIR) -- 2.39.5