include blog index in html ppp

This commit is contained in:
ktyl 2022-05-27 01:33:00 +01:00
parent cc1811a06c
commit fc8e0da697
1 changed files with 2 additions and 3 deletions

View File

@ -42,9 +42,8 @@ deploy: site
rm -r $(SITE_NAME) rm -r $(SITE_NAME)
ssh $(HOST) "sudo $(REMOTE_SCRIPT)" ssh $(HOST) "sudo $(REMOTE_SCRIPT)"
$(OUT_DIR)/%.html: $(ROOT_DIR)/%.html $(HTML_INCLUDES) $(OUT_DIR)/%.html: $(ROOT_DIR)/%.html $(HTML_INCLUDES) $(BLOG_INDEX_LINKS) | $(OUT_DIR)
mkdir -p $(OUT_DIR) python ppp/ppp.py $< $(HTML_INCLUDES) $(BLOG_INDEX_LINKS) > $@
python ppp/ppp.py $< $(HTML_INCLUDES) > $@
blog: $(BLOG_TARGETS) | $(BLOG_TMP_DIR) blog: $(BLOG_TARGETS) | $(BLOG_TMP_DIR)