diff options
author | EuAndreh <eu@euandre.org> | 2025-04-18 02:45:36 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-04-18 02:48:41 -0300 |
commit | 0278ed8029311aa495b5e54b41e46d5aebf844d8 (patch) | |
tree | 986c9fea0a54583d69f39b83a954bd335f29634b /Makefile | |
parent | src/symlinks.txt: Setup symlinking with some manually added entries (diff) | |
download | euandre.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-- | Makefile | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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 |