aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-27 21:53:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-27 21:53:24 -0300
commitb3f6a81f550fc33dde141c60f4b1b7f9e1373ce7 (patch)
tree3e6d8b3dc3a35ccdd43c85e1bfe5df7a82a9a914 /Makefile
parent3aae22659c3f0ca1b323cd9259f88e55d1c185e4 (diff)
downloadblog-b3f6a81f550fc33dde141c60f4b1b7f9e1373ce7.tar.gz
blog-b3f6a81f550fc33dde141c60f4b1b7f9e1373ce7.tar.bz2
Strip JPEG image headers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b48975c..78d28d9 100644
--- a/Makefile
+++ b/Makefile
@@ -14,10 +14,13 @@
# Place - Suite 330, Boston, MA 02111-1307, USA
#
-web:
+web: jhead
@ikiwiki --setup ikiwiki.setup
web_deploy:
@rsync -avz --delete www/ blog:/var/sites/rhatto/www/
publish: web web_deploy
+
+jhead:
+ @find -name '*jpg' -exec jhead -dc -de -di -dx -du {} \;