aboutsummaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-10-05 22:55:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-10-05 22:55:04 -0300
commit8b303556a3d84c469ec4662fe5821fbd9e9b0943 (patch)
tree4f80e86b8945ced7944851093c5c779628853d55 /ikiwiki
parent2eb70c2966be257e6b90fe7b275405a17c6b11b7 (diff)
downloadtemplates-8b303556a3d84c469ec4662fe5821fbd9e9b0943.tar.gz
templates-8b303556a3d84c469ec4662fe5821fbd9e9b0943.tar.bz2
Makefile: jhead target
Diffstat (limited to 'ikiwiki')
-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 {} \;