From 06322669bba28d99b4ce432a88a50c888ee47432 Mon Sep 17 00:00:00 2001 From: Dan Frumin Date: Sat, 29 Aug 2020 14:38:14 +0200 Subject: [PATCH] variations on the makefile --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5ab23b4..361078e 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,8 @@ post-htmls := $(patsubst $(src)/%.md,$(www)/%.html,$(post-sources)) all: $(POSTCC) $(post-htmls) $(post_index) $(feed) $(www_root)/static cp -R ~/www/* $(www_root) -$(www): +$(www)/%.html: $(src)/%.md mkdir -p $(www) - -$(www)/%.html: $(src)/%.md $(www) $(POSTCC) $< -o $@ $(post_index): $(post-sources) @@ -43,3 +41,4 @@ clean: serve: cd $(www_root) && python -m SimpleHTTPServer +