From: Kyle Bowman Date: Mon, 21 Apr 2025 01:22:36 +0000 (-0400) Subject: add about page to buildlist X-Git-Url: https://git.rocketbowman.com/?a=commitdiff_plain;h=refs%2Fheads%2Fmain;p=jetsam.git add about page to buildlist --- 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)