summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 13 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index bd12b3a..7aea2f9 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,8 @@ all:
include deps.mk
-sources.adoc = $(articles.adoc) $(indexes.adoc) $(pages.adoc)
+listings.adoc = $(categories.adoc) $(indexes.adoc)
+sources.adoc = $(articles.adoc) $(listings.adoc) $(pages.adoc)
sources.htmlbody = $(sources.adoc:.adoc=.htmlbody)
sources.html = $(sources.adoc:.adoc=.html)
sources.snippets = $(sources.adoc:.adoc=.snippets)
@@ -87,12 +88,13 @@ articles.indexentry = $(articles.adoc:.adoc=.indexentry)
articles.feedentry = $(articles.adoc:.adoc=.feedentry)
articles.sortdata = $(articles.adoc:.adoc=.sortdata)
articles.categorydata = $(articles.adoc:.adoc=.categorydata)
-indexes.htmlheader = $(indexes.adoc:.adoc=.htmlheader)
-indexes.htmlfooter = $(indexes.adoc:.adoc=.htmlfooter)
-indexes.htmllisting = $(indexes.adoc:.adoc=.htmllisting)
-indexes.html = $(indexes.adoc:.adoc=.html)
-categories.xml = $(categories.txt:.txt=.xml)
-categories.xml.gz = $(categories.txt:.txt=.xml.gz)
+listings.htmlheader = $(listings.adoc:.adoc=.htmlheader)
+listings.htmlfooter = $(listings.adoc:.adoc=.htmlfooter)
+listings.htmllisting = $(listings.adoc:.adoc=.htmllisting)
+listings.html = $(listings.adoc:.adoc=.html)
+categories.txt = $(categories.adoc:.adoc=.txt)
+categories.xml = $(categories.adoc:.adoc=.xml)
+categories.xml.gz = $(categories.adoc:.adoc=.xml.gz)
sources = \
$(sources.adoc) \
@@ -156,9 +158,9 @@ derived-assets = \
src/dyn.conf \
src/base.conf \
src/global.conf \
- $(indexes.htmlheader) \
- $(indexes.htmlfooter) \
- $(indexes.htmllisting) \
+ $(listings.htmlheader) \
+ $(listings.htmlfooter) \
+ $(listings.htmllisting) \
$(articles.indexentry) \
$(articles.feedentry) \
$(articles.sortdata) \
@@ -218,7 +220,7 @@ src/base.conf: src/dyn.conf src/static.conf
src/global.conf: src/base.conf
mkwb conf -G src/base.conf > $@
-$(indexes.html):
+$(listings.html):
cat $*.htmlheader $*.htmllisting $*.htmlbody $*.htmlfooter > $@
$(categories.txt):