summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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