From 837ab8afdd9818adeb3347332b56324b59b1a0cd Mon Sep 17 00:00:00 2001 From: David Florness Date: Mon, 17 Feb 2025 19:12:35 -0500 Subject: [PATCH] site: add Makefile rule to create zip file with static assets --- site/.gitignore | 1 + site/Makefile | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/site/.gitignore b/site/.gitignore index 39c21d7..f110057 100644 --- a/site/.gitignore +++ b/site/.gitignore @@ -1,2 +1,3 @@ README.html index.html +tallyard.xyz.zip diff --git a/site/Makefile b/site/Makefile index e19232d..35f699e 100644 --- a/site/Makefile +++ b/site/Makefile @@ -1,6 +1,11 @@ +all: index.html tallyard.xyz.zip + index.html: index.dhtml README.html sed -e '/$${README}/{r README.html' -e 'd}' index.dhtml > $@ +tallyard.xyz.zip: index.html tallyard.png + zip $@ $^ + README.html: ../README.md pandoc $< -o $@ -- 2.38.4