summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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