summaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Müller2019-07-21 21:28:59 +0200
committerWolfgang Müller2019-07-22 13:02:38 +0200
commit86775b8c0653a9c4264590cc1a775cd7237360e9 (patch)
tree37bcf759bc47a793bb5b9b988528c6c4d1405cb3 /Makefile
parent55a075f8279d4e1ae3a25b2e8c4ebd9d6a8b0208 (diff)
downloadsite-86775b8c0653a9c4264590cc1a775cd7237360e9.tar.gz
Makefile: Rename HTML to POSTS_HTML
The new name is clearer and consistent with the source lists.
Diffstat (limited to '')
-rw-r--r--Makefile11
1 files 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 $<