From 01564dc8852e2a21f659093823fbe36606512fe4 Mon Sep 17 00:00:00 2001 From: urosm Date: Thu, 2 May 2024 21:43:58 +0200 Subject: [PATCH] update `Makefile` --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 948ea92..fd8271f 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,8 @@ SHELL = /bin/sh getpages = $(patsubst %.md,public_html/%.html,$(1)) getparts = $(patsubst %.md,public_html/%.html.part,$(1)) -all: $(call getpages,$(shell pandoc lua pandoc/links.lua --follow index.md)) .PHONY: all +all: public_html/index.html $(call getpages,$(shell pandoc lua pandoc/links.lua --follow index.md)) public_html/%.html: %.md $(eval links := $(shell pandoc lua pandoc/links.lua $<)) @@ -30,8 +30,6 @@ public_html/%.html.part: %.md --output $@ \ $< - -# clean all targets .PHONY: clean clean: $(RM) public_html/*.html.part