aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ikiwiki/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/ikiwiki/Makefile b/ikiwiki/Makefile
index 0db794d..8dc0c96 100644
--- a/ikiwiki/Makefile
+++ b/ikiwiki/Makefile
@@ -16,7 +16,7 @@
all: web web_deploy
-web:
+web: jhead
@ikiwiki --setup ikiwiki.yaml
@chmod +x bin/*
@@ -33,3 +33,7 @@ post_receive:
whoami:
git config user.name "User"
git config user.email user@example.org
+
+jhead:
+ @find -name '*jpg' -exec jhead -dc -de -di -dx -du {} \;
+ @find -name '*jpeg' -exec jhead -dc -de -di -dx -du {} \;