diff options
author | mms <michal@sapka.me> | 2024-08-31 19:22:11 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-08-31 19:22:11 +0200 |
commit | 091aa067d036ab60eb7d627d1997572daebaa310 (patch) | |
tree | d975c020497928a05ee30c257cfc88dc943cae76 /Makefile | |
parent | bcf8aee086ae1c9e66a8ca461bf0912cda5d701d (diff) |
feat(blog): rrc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -22,9 +22,14 @@ upload: dest_server="mms@michal.sapka.me:/var/www/htdocs/michal.sapka.me"; \ rsync -irtvzP --delete "$$source_dir" "$$dest_server"; \ echo "Rsync completed." - +interlace_images: + @dir_path="./public"; \ + for file in $$(find "$$dir_path" -type f -name "*.jpg"); do \ + convert $$file -interlace plane $$file; \ + done; \ + clean: rm -r public -deploy: build compress upload +deploy: build interlace_images compress upload |