aboutsummaryrefslogtreecommitdiff
path: root/Makefile.sphinx
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-27 15:01:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-27 15:01:41 -0300
commit6308e045627444674e44e1fe8558ceb492925bcd (patch)
treed9622006e28b8f4f5a43f403d81ce3a83c3ae63a /Makefile.sphinx
parent7a6839d4a139c7608610af74639fde051aae3923 (diff)
downloadtemplates-6308e045627444674e44e1fe8558ceb492925bcd.tar.gz
templates-6308e045627444674e44e1fe8558ceb492925bcd.tar.bz2
Adds project spreadsheet
Diffstat (limited to 'Makefile.sphinx')
-rw-r--r--Makefile.sphinx10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.sphinx b/Makefile.sphinx
index 6e807c9..88596ee 100644
--- a/Makefile.sphinx
+++ b/Makefile.sphinx
@@ -156,8 +156,16 @@ doctest:
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
+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 {} \;
+
#web: clean epub latexpdf html
-web: clean epub html
+web: clean epub html mat
web_deploy:
@rsync -avz --delete _build/html/ templates:/var/sites/templates/www/