variations on the makefile

This commit is contained in:
Dan Frumin 2020-08-29 14:38:14 +02:00
parent 3243fc2e81
commit 06322669bb
1 changed files with 2 additions and 3 deletions

View File

@ -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