mirror of https://github.com/MISP/misp-training
chg: [build] make script more generic
parent
fcf3116a52
commit
2192c8ce47
14
build.sh
14
build.sh
|
@ -1,4 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
|
||||||
|
slidedecks=("0-misp-introduction-to-information-sharing")
|
||||||
|
mkdir output
|
||||||
export TEXINPUTS=::`pwd`/themes/
|
export TEXINPUTS=::`pwd`/themes/
|
||||||
echo ${TEXINPUTS}
|
echo ${TEXINPUTS}
|
||||||
cd 0-misp-introduction-to-information-sharing
|
for slide in ${slidedecks[@]}; do
|
||||||
pdflatex infosharing-introduction.tex
|
cd ${slide}
|
||||||
|
pdflatex slide.tex
|
||||||
|
pdflatex slide.tex
|
||||||
|
rm *.aux *.toc *.snm *.log *.out *.nav
|
||||||
|
cp slide.pdf ../output/${slide}.pdf
|
||||||
|
done
|
||||||
|
|
Loading…
Reference in New Issue