diff options
author | Wolfgang Müller | 2019-07-21 21:28:59 +0200 |
---|---|---|
committer | Wolfgang Müller | 2019-07-22 13:02:38 +0200 |
commit | 86775b8c0653a9c4264590cc1a775cd7237360e9 (patch) | |
tree | 37bcf759bc47a793bb5b9b988528c6c4d1405cb3 | |
parent | 55a075f8279d4e1ae3a25b2e8c4ebd9d6a8b0208 (diff) | |
download | site-86775b8c0653a9c4264590cc1a775cd7237360e9.tar.gz |
Makefile: Rename HTML to POSTS_HTML
The new name is clearer and consistent with the source lists.
-rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -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 $< |