summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-30 09:53:41 -0300
committerEuAndreh <eu@euandre.org>2025-03-30 09:53:41 -0300
commitcd7605eb926773e29b9192ee1c9dc4a12d2f6881 (patch)
treea7bbe19b82ec60a05715cfbac99c97501e42800a /Makefile
parentMakefile: Use rsync(1) in "install" over cp(1) in loop (diff)
downloadeuandre.org-cd7605eb926773e29b9192ee1c9dc4a12d2f6881.tar.gz
euandre.org-cd7605eb926773e29b9192ee1c9dc4a12d2f6881.tar.xz
src/content/security.txt: Derive it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3a15506..71acf31 100644
--- a/Makefile
+++ b/Makefile
@@ -108,6 +108,8 @@ contents.gz = \
contents = \
$(dynamic-contents) \
$(static-contents) \
+ src/content/security.txt \
+ src/content/security.txt.gz \
all-contents = \
$(contents) \
@@ -133,6 +135,8 @@ derived-assets = \
email.txt \
baseurl.txt \
expiry.txt \
+ src/content/security.txt \
+ src/content/security.txt.gz \
src/content/.well-known/security.txt \
install.html.txt \
install.src.txt \
@@ -188,6 +192,11 @@ expiry.txt: src/content/public.asc
awk -F: '/^pub:/ { print $$7 }' | \
xargs -I% date -Is -d@% > $@
+src/content/security.txt.gz: src/content/.well-known/security.txt.gz
+src/content/security.txt: src/content/.well-known/security.txt
+src/content/security.txt src/content/security.txt.gz:
+ ln -fs .well-known/$(@F) $@
+
src/content/.well-known/security.txt.gz: src/content/.well-known/security.txt
src/content/.well-known/security.txt: email.txt baseurl.txt expiry.txt
mkdir -p $(@D)