blob: 11443a5da0df60bf164cf9b1eca170dbb58489bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/bin/sh
set -eu
DIR=`mktemp -d reportXXXXXX`
for n in aggregation coins deposits reserves wire
do
taler-helper-auditor-$n "$@" > ${DIR}/$n.json
done
taler-helper-auditor-render.py \
${DIR}/aggregation.json \
${DIR}/coins.json \
${DIR}/deposits.json \
${DIR}/reserves.json \
${DIR}/wire.json < %pkgdatadir%/auditor-report.tex.j2 > ${DIR}/auditor-report.tex
cd ${DIR}
pdflatex auditor-report.tex < /dev/null &> /dev/null || true
pdflatex auditor-report.tex < /dev/null &> /dev/null || true
pdflatex auditor-report.tex < /dev/null || echo "pdflatex failed"
cd ..
echo "Result is in ${DIR}/auditor-report.pdf"
|