diff options
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 |