summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-18 02:45:36 -0300
committerEuAndreh <eu@euandre.org>2025-04-18 02:48:41 -0300
commit0278ed8029311aa495b5e54b41e46d5aebf844d8 (patch)
tree986c9fea0a54583d69f39b83a954bd335f29634b /Makefile
parentsrc/symlinks.txt: Setup symlinking with some manually added entries (diff)
downloadeuandre.org-0278ed8029311aa495b5e54b41e46d5aebf844d8.tar.gz
euandre.org-0278ed8029311aa495b5e54b41e46d5aebf844d8.tar.xz
Makefile: Remove security.txt.gz
Rely on the security.txt -> .well-known/security.txt redirect, and then exploit the fact that .well-known/security.txt.gz exists.
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0db5bbc..98959b0 100644
--- a/Makefile
+++ b/Makefile
@@ -131,7 +131,6 @@ contents = \
$(dynamic-contents) \
$(static-contents) \
src/content/security.txt \
- src/content/security.txt.gz \
all-filelists = \
$(sources.snippets) \
@@ -174,7 +173,6 @@ derived-assets = \
fingerprint.txt \
expiry.txt \
src/content/security.txt \
- src/content/security.txt.gz \
src/content/.well-known/security.txt \
src/all-contents.txt \
src/all-filelists.txt \
@@ -296,9 +294,7 @@ expiry.txt: src/content/$(PUBURL)
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:
+src/content/security.txt: src/content/.well-known/security.txt
ln -fs .well-known/$(@F) $@
src/content/.well-known/security.txt.gz: src/content/.well-known/security.txt