From cd7605eb926773e29b9192ee1c9dc4a12d2f6881 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 30 Mar 2025 09:53:41 -0300 Subject: src/content/security.txt: Derive it --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') 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) -- cgit v1.2.3