From fc8e0da69741c24d957772e9f2c5717857db7710 Mon Sep 17 00:00:00 2001 From: ktyl Date: Fri, 27 May 2022 01:33:00 +0100 Subject: [PATCH] include blog index in html ppp --- makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 4c0330a..7bcedf7 100644 --- a/makefile +++ b/makefile @@ -42,9 +42,8 @@ deploy: site rm -r $(SITE_NAME) ssh $(HOST) "sudo $(REMOTE_SCRIPT)" -$(OUT_DIR)/%.html: $(ROOT_DIR)/%.html $(HTML_INCLUDES) - mkdir -p $(OUT_DIR) - python ppp/ppp.py $< $(HTML_INCLUDES) > $@ +$(OUT_DIR)/%.html: $(ROOT_DIR)/%.html $(HTML_INCLUDES) $(BLOG_INDEX_LINKS) | $(OUT_DIR) + python ppp/ppp.py $< $(HTML_INCLUDES) $(BLOG_INDEX_LINKS) > $@ blog: $(BLOG_TARGETS) | $(BLOG_TMP_DIR)