aboutsummaryrefslogtreecommitdiff
path: root/Makefile.env
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.env')
-rw-r--r--Makefile.env16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile.env b/Makefile.env
index a114e53..f41c74a 100644
--- a/Makefile.env
+++ b/Makefile.env
@@ -17,9 +17,15 @@
# Parameters
HTTP_BASE = www
-web: jhead
+web: jhead mat
+ @#echo Applying workaround since exclude patterns are not working...
+ @find vendor -name '*.md' -exec rm {} \;
+
@ikiwiki --setup ikiwiki.yaml
+ @#echo Cleaning up...
+ git submodule foreach git restore .
+
web_deploy:
@rsync -avz --delete www/ blog:/var/sites/blog/www/
@@ -28,3 +34,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 {} \;