summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-08-31 19:22:11 +0200
committermms <michal@sapka.me>2024-08-31 19:22:11 +0200
commit091aa067d036ab60eb7d627d1997572daebaa310 (patch)
treed975c020497928a05ee30c257cfc88dc943cae76 /Makefile
parentbcf8aee086ae1c9e66a8ca461bf0912cda5d701d (diff)
feat(blog): rrc
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