From 86775b8c0653a9c4264590cc1a775cd7237360e9 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Sun, 21 Jul 2019 21:28:59 +0200 Subject: Makefile: Rename HTML to POSTS_HTML The new name is clearer and consistent with the source lists. --- Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 2b8f63a..a80d04a 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,17 @@ POSTS_MD = $(wildcard posts/*.md) POSTS_XML = $(wildcard posts/*.xml) +POSTS_HTML = $(POSTS_MD:.md=.html) $(POSTS_XML:.xml=.html) SCSS = $(wildcard scss/_*.scss) -HTML = $(POSTS_MD:.md=.html) $(POSTS_XML:.xml=.html) - .PHONY: site site: index.html atom.xml style.css man.css -index.html: templates/index.xml $(HTML) - sblg -o $@ -t templates/index.xml $(HTML) +index.html: templates/index.xml $(POSTS_HTML) + sblg -o $@ -t templates/index.xml $(POSTS_HTML) -atom.xml: templates/atom.xml $(HTML) - sblg -ao $@ -t templates/atom.xml $(HTML) +atom.xml: templates/atom.xml $(POSTS_HTML) + sblg -ao $@ -t templates/atom.xml $(POSTS_HTML) %.html: %.xml templates/post.xml sblg -co $@ -t templates/post.xml $< -- cgit v1.2.3-2-gb3c3