summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-10-02 11:19:17 +0200
committermms <michal@sapka.me>2024-10-02 11:19:17 +0200
commit6043f47c0caf6065171c68be93d77cf847b9423a (patch)
tree36b23e3228f01a12a689b526593996812f5e9637 /Makefile
parent3a8a9e80bd6991f2281dfd5a50e6234efb0ab289 (diff)
feat: thomas
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dcc0d8b..dd5d7de 100644
--- a/Makefile
+++ b/Makefile
@@ -17,6 +17,13 @@ compress:
fi; \
done; \
echo "Ignored $$ignored files. Total compressed: $$compressed."
+remove_exif:
+ @dir_path="./assets/blog"; \
+ echo "a";\
+ for file in $$(find "$$dir_path" -type f \( -name "*.jpg" -or -name "*.JPEG" \)); do \
+ echo "EXIF cleared: $$file"; \
+ convert $$file -strip $$file; \
+ done;
upload:
source_dir="public/"; \
dest_server="mms@michal.sapka.me:/var/www/htdocs/michal.sapka.me"; \
@@ -29,6 +36,6 @@ interlace_images:
done;
clean:
rm -r public
-deploy: build compress upload
+deploy: build upload