diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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) |