From d1f761415a8598b1acc162b4c7665ed8c6ad2c3e Mon Sep 17 00:00:00 2001 From: Vincent Douillet Date: Fri, 20 May 2022 07:58:08 +0200 Subject: enable static gzip compression for openbsd 7.1 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 '' >> 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 '' >> 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 '' >> tmp.html @mv tmp.html output/`echo $@ | cut -d'-' -f2- -` + @gzip -k output/`echo $@ | cut -d'-' -f2- -` clean : rm -rf output/* -- cgit v1.2.3