chg: [build] make script more generic

improvedChecklist
Alexandre Dulaunoy 2018-12-29 16:27:01 +01:00
parent fcf3116a52
commit 2192c8ce47
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,14 @@
#!/bin/bash
#
slidedecks=("0-misp-introduction-to-information-sharing")
mkdir output
export TEXINPUTS=::`pwd`/themes/
echo ${TEXINPUTS}
cd 0-misp-introduction-to-information-sharing
pdflatex infosharing-introduction.tex
for slide in ${slidedecks[@]}; do
cd ${slide}
pdflatex slide.tex
pdflatex slide.tex
rm *.aux *.toc *.snm *.log *.out *.nav
cp slide.pdf ../output/${slide}.pdf
done