summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b61a68b..124a680 100644
--- a/Makefile
+++ b/Makefile
@@ -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