summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a1e6d09..3e4c1e3 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ index :
@cat template/index.html >> output/$@.html
@echo '</body>' >> output/$@.html
@cat template/footer.html >> output/$@.html
+ @gzip -k output/$@.html
about :
@echo "Building $@"
@@ -55,6 +56,7 @@ about :
@$(MD) static/$@.md >> output/$@.html
@echo '</body>' >> output/$@.html
@cat template/footer.html >> output/$@.html
+ @gzip -k output/$@.html
# compile each article
.md.html:
@@ -68,6 +70,7 @@ about :
@cat template/footer.html >> tmp.html
@echo '</article>' >> tmp.html
@mv tmp.html output/`echo $@ | cut -d'-' -f2- -`
+ @gzip -k output/`echo $@ | cut -d'-' -f2- -`
clean :
rm -rf output/*