diff options
author | Vincent Douillet <vincent@vdouillet.fr> | 2022-05-20 07:58:08 +0200 |
---|---|---|
committer | Vincent Douillet <vincent@vdouillet.fr> | 2022-05-20 07:58:08 +0200 |
commit | d1f761415a8598b1acc162b4c7665ed8c6ad2c3e (patch) | |
tree | 791538386fb766e3710a54828863b1bab2abc353 /Makefile | |
parent | f3af4b491b70bb13f1204a07e897b16d09bc8f5a (diff) |
enable static gzip compression for openbsd 7.1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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/* |