From 7589464eb7b9fecad8ab845de78fd4ecfafa0670 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 30 Mar 2025 09:37:17 -0300 Subject: Makefile: Include derived security.txt during "install" --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d110c22..77c6fc3 100644 --- a/Makefile +++ b/Makefile @@ -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`" > $@ -- cgit v1.2.3