This repository has been archived on 2024-02-04. You can view files and clone it, but cannot push or open issues or pull requests.
blog.polynom.me/Makefile

17 lines
423 B
Makefile

img: assets/img/raw/*
for file in assets/img/raw/* ; do \
basename=`basename $$file`; \
convert assets/img/raw/$$basename -sampling-factor 4:2:0 -strip -quality 75 -interlace JPEG -colorspace RGB assets/img/$$basename ; \
done
build: img
rm -rf _site; exit 0
~/.gem/ruby/2.6.0/bin/jekyll build
tar -czf blog.tar.gz _site
serve: img
~/.gem/ruby/2.6.0/bin/jekyll serve \
--drafts \
--unpublished \
--future