aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-27 19:27:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-27 19:27:11 -0300
commit07561193c07bd127cfe3017d62d9f4b98eae430e (patch)
tree72b5ef2e52da24e12c102f3f1863c00d86dece3a
parent73efdf10857317a34ed423a9e7da72186ee40225 (diff)
downloadblog-master.tar.gz
blog-master.tar.bz2
Makefile: adds mat targetHEADmasterdevelop
-rw-r--r--Makefile.env10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.env b/Makefile.env
index a114e53..77df368 100644
--- a/Makefile.env
+++ b/Makefile.env
@@ -17,7 +17,7 @@
# Parameters
HTTP_BASE = www
-web: jhead
+web: jhead mat
@ikiwiki --setup ikiwiki.yaml
web_deploy:
@@ -28,3 +28,11 @@ publish: web web_deploy
jhead:
@find -name '*jpg ' -exec jhead -dc -de -di -dx -du {} \;
@find -name '*jpeg' -exec jhead -dc -de -di -dx -du {} \;
+
+mat:
+ @find -type f -name '*.ods' -exec mat2 -V {} \;
+ @find -type f -name '*.ods' -exec rename -f 's/\.cleaned.ods/.ods/' {} \;
+ @find -type f -name '*.pdf' -exec mat2 -V {} \;
+ @find -type f -name '*.pdf' -exec rename -f 's/\.cleaned.pdf/.pdf/' {} \;
+ @find -type f -name '*.ods' -exec chmod 644 {} \;
+ @find -type f -name '*.pdf' -exec chmod 644 {} \;