summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-31 11:25:12 -0300
committerEuAndreh <eu@euandre.org>2025-03-31 11:25:12 -0300
commit48d6c8829b8d5963dbc616700de43692b123fd60 (patch)
tree563eca0ec38f877f815927f1c53a892f2224bf12 /Makefile
parentMakefile: install.txt only depends on deps.mk and snippets! also nice (diff)
downloadeuandre.org-48d6c8829b8d5963dbc616700de43692b123fd60.tar.gz
euandre.org-48d6c8829b8d5963dbc616700de43692b123fd60.tar.xz
Makefile, mkdeps.sh: Derive index.html and feed.xml from more static "sortdata.txt" files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 5050e32..ba3e220 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ LDLIBS =
.SUFFIXES:
-.SUFFIXES: .adoc .conf .snippets .indexentry .feedentry .sortdata .xml .xmldeps
+.SUFFIXES: .adoc .conf .snippets .indexentry .feedentry .sortdata .xml
.SUFFIXES: .htmlbody .htmlheader .htmlfooter .htmllisting .html
.SUFFIXES: .gz
@@ -75,9 +75,7 @@ articles.sortdata = $(articles.adoc:.adoc=.sortdata)
listings.htmlheader = $(listings.adoc:.adoc=.htmlheader)
listings.htmlfooter = $(listings.adoc:.adoc=.htmlfooter)
listings.htmllisting = $(listings.adoc:.adoc=.htmllisting)
-listings.htmldeps = $(listings.adoc:.adoc=.htmldeps)
listings.html = $(listings.adoc:.adoc=.html)
-feeds.xmldeps = $(feeds.xml:.xml=.xmldeps)
sources = \
$(sources.adoc) \
@@ -131,8 +129,6 @@ derived-assets = \
$(listings.htmlheader) \
$(listings.htmlfooter) \
$(listings.htmllisting) \
- $(listings.htmldeps) \
- $(feeds.xmldeps) \
$(articles.indexentry) \
$(articles.feedentry) \
$(articles.sortdata) \
@@ -153,6 +149,7 @@ side-assets = \
src/collections/*/*/*/*/*.html.*.txt \
src/collections/*/*/*/*/*.html.*.txt.gz \
src/collections/*/index.html.*.txt \
+ src/collections/*/sortdata.txt \
src/collections/*/*.sortdata \
src/pages/*/*.html.*.txt \
src/content/.well-known/ \
@@ -176,7 +173,7 @@ $(listings.html):
cat $*.htmlheader $*.htmllisting $*.htmlbody $*.htmlfooter > $@
$(feeds.xml):
- ifok -o $@ mkwb feed src/global.conf $*.xmldeps
+ ifok -o $@ mkwb feed src/global.conf $(@D)/sortdata.txt
$(contents.gz):
gzip -9fk $*