gdritter repos chalcedony-playbooks / 348b4f3
Cleaning up the do scripts Getty Ritter 5 years ago
6 changed file(s) with 25 addition(s) and 2 deletion(s). Collapse all Expand all
1 #!/bin/bash -e
2
3 DEPS="core-playbooks.pdf extended-playbooks.pdf inverse-playbooks.pdf travelrules.pdf"
4 redo-ifchange $DEPS
5 pdfunite $DEPS $3
1 #!/bin/bash -e
2
3 rm -f *.pdf
4 exit 1
1 #!/bin/bash -e
2
3 CORE_PLAYBOOKS="bard.pdf cleric.pdf druid.pdf fighter.pdf paladin.pdf ranger.pdf thief.pdf wizard.pdf"
4 redo-ifchange $CORE_PLAYBOOKS
5 pdfunite $CORE_PLAYBOOKS $3
11 #!/bin/bash -e
22
3 echo $1 $2 $3
3 redo-ifchange "$1.tex"
44 TMPDIR="$(mktemp -d)"
5 redo-ifchange "$1.tex"
65 xelatex -output-directory="${TMPDIR}" "$1.tex"
76 mv "${TMPDIR}/$1.pdf" "$3"
87 rm -rf "${TMPDIR}"
1 #!/bin/bash -e
2
3 EXTENDED_PLAYBOOKS="mage.pdf priest.pdf artificer.pdf witch.pdf"
4 redo-ifchange $EXTENDED_PLAYBOOKS
5 pdfunite $EXTENDED_PLAYBOOKS $3
1 #!/bin/bash -e
2
3 INVERSE_PLAYBOOKS="collector.pdf lanternbearer.pdf survivor.pdf"
4 redo-ifchange $INVERSE_PLAYBOOKS
5 pdfunite $INVERSE_PLAYBOOKS $3