diff options
author | EuAndreh <eu@euandre.org> | 2025-03-30 09:37:17 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-03-30 09:37:17 -0300 |
commit | 7589464eb7b9fecad8ab845de78fd4ecfafa0670 (patch) | |
tree | f49f0551ce4972de8b683f82a0ac096bc90c8e03 | |
parent | .gitignore: Restrict ignoring to toplevel files (diff) | |
download | euandre.org-7589464eb7b9fecad8ab845de78fd4ecfafa0670.tar.gz euandre.org-7589464eb7b9fecad8ab845de78fd4ecfafa0670.tar.xz |
Makefile: Include derived security.txt during "install"
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -91,12 +91,14 @@ static-contents = \ $(sources.extras) \ $(images.svg) \ src/content/style.css \ + src/content/.well-known/security.txt \ dynamic-contents.gz = $(dynamic-contents:=.gz) static-contents.gz = \ $(images.svg:=.gz) \ src/content/style.css.gz \ + src/content/.well-known/security.txt.gz \ contents.gz = \ $(dynamic-contents.gz) \ @@ -177,6 +179,7 @@ expiry.txt: src/content/public.asc awk -F: '/^pub:/ { print $$7 }' | \ xargs -I% date -Is -d@% > $@ +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) printf 'Contact: mailto:%s\n' "`cat email.txt`" > $@ |