summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Douillet <vincent@vdouillet.fr>2022-05-20 07:58:08 +0200
committerVincent Douillet <vincent@vdouillet.fr>2022-05-20 07:58:08 +0200
commitd1f761415a8598b1acc162b4c7665ed8c6ad2c3e (patch)
tree791538386fb766e3710a54828863b1bab2abc353 /Makefile
parentf3af4b491b70bb13f1204a07e897b16d09bc8f5a (diff)
enable static gzip compression for openbsd 7.1
Diffstat (limited to 'Makefile')
-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/*