diff options
author | EuAndreh <eu@euandre.org> | 2025-03-30 09:53:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-30 09:53:41 -0300 |
commit | cd7605eb926773e29b9192ee1c9dc4a12d2f6881 (patch) | |
tree | a7bbe19b82ec60a05715cfbac99c97501e42800a | |
parent | Makefile: Use rsync(1) in "install" over cp(1) in loop (diff) | |
download | euandre.org-cd7605eb926773e29b9192ee1c9dc4a12d2f6881.tar.gz euandre.org-cd7605eb926773e29b9192ee1c9dc4a12d2f6881.tar.xz |
src/content/security.txt: Derive it
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 9 | ||||
l--------- | src/content/security.txt | 1 |
3 files changed, 10 insertions, 1 deletions
@@ -19,4 +19,5 @@ feed.xml /expiry.txt /install.html.txt /install.src.txt +/src/content/security.txt /src/content/.well-known/ @@ -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) diff --git a/src/content/security.txt b/src/content/security.txt deleted file mode 120000 index abdf74b..0000000 --- a/src/content/security.txt +++ /dev/null @@ -1 +0,0 @@ -.well-known/security.txt
\ No newline at end of file |