Skip to content
Snippets Groups Projects
Commit 07561193 authored by rhatto's avatar rhatto
Browse files

Makefile: adds mat target

parent 73efdf10
Branches
No related tags found
No related merge requests found
......@@ -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 {} \;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment