From 1e777afbc8f3010ab1e7351308a6146a6e18fa87 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 4 Apr 2025 18:03:04 -0300 Subject: src/content/favicon.ico: Add refresheable rule in Makefile --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b784b25..0f8f756 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,7 @@ dynamic-contents = \ static-contents = \ $(sources.extras) \ $(images.svg) \ + src/content/favicon.ico \ src/content/style.css \ src/content/$(PUBURL) \ src/content/.well-known/security.txt \ @@ -98,6 +99,7 @@ dynamic-contents.gz = $(dynamic-contents:=.gz) static-contents.gz = \ $(images.svg:=.gz) \ + src/content/favicon.ico.gz \ src/content/style.css.gz \ src/content/$(PUBURL).gz \ src/content/.well-known/security.txt.gz \ @@ -165,7 +167,7 @@ side-assets = \ ## Default target. Builds all artifacts required for testing ## and installation. all: $(derived-assets) -all: src/content/$(PUBURL) +all: src/content/$(PUBURL) src/content/favicon.ico $(derived-assets): Makefile deps.mk @@ -202,6 +204,9 @@ $(sources.snippets.gz): src/content/$(PUBURL): gpg --export --armour "`jq -r '.email' < meta.json`" > $@ +src/content/favicon.ico: src/content/img/favicon.svg + convert src/content/img/favicon.svg $@ + email.txt: meta.json jq -r '.email' < meta.json > $@ -- cgit v1.2.3