From 0278ed8029311aa495b5e54b41e46d5aebf844d8 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 18 Apr 2025 02:45:36 -0300 Subject: 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. --- Makefile | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3