summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-03-13 00:12:51 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-03-13 00:12:51 -0300
commitf956af85c751ae616491f99ba39f5546ce4a8f7b (patch)
tree087d80bfcd68e6f0b18774fe5b7c3585fc4d420a /Makefile
parent99a6fe7430c1a6d3e0703967c9bcd87fbfcf7333 (diff)
make dist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 96f8b0a..76190f9 100644
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,12 @@ PAGES=index.html\
all: $(PAGES)
clean:
- rm -f $(PAGES)
+ rm -f $(PAGES) dist.tar.gz
+
+dist: all
+ tar -cv static $(PAGES) | gzip > dist.tar.gz
%.html: %.md templates/base.m4
m4 -DPAGECONTENT="$$(markdown $<)" templates/base.m4 > $@
-.PHONY: all clean
+.PHONY: all clean dist