]> git.ipfire.org Git - people/ms/talks.git/blame - render.sh
2014 - A look into the past and future
[people/ms/talks.git] / render.sh
CommitLineData
408c9190
MT
1#!/bin/bash
2
3PDFLATEX="pdflatex"
4
5TALKS="2012_-_Introduction_to_the_Pakfire_Build_Service"
972791c8 6TALKS="${TALKS} 2014_-_A_look_into_the_past_and_future"
408c9190
MT
7
8for talk in ${TALKS}; do
9 (
10 pushd "${talk}"
972791c8
MT
11 [ "main.tex" -nt "main.pdf" ] || exit 0
12
408c9190
MT
13 if ${PDFLATEX} main < /dev/null; then
14 cat "main.pdf" > "../${talk}.pdf"
15 fi
16 popd
17 )
18done