This commit is contained in:
Marc Beninca 2020-05-05 05:25:58 +02:00
parent df078cc305
commit 3e8cc23327

18
cnam/travaux/blanc/produire.sh Executable file
View file

@ -0,0 +1,18 @@
#! /bin/bash
NOM='presentation'
TEMPORAIRE='tmp'
function produire {
xelatex -output-directory "${TEMPORAIRE}" "${NOM}.tex" }
function purger {
rm --force --recursive "${TEMPORAIRE}" }
purger
produire
produire
mv "${TEMPORAIRE}/${NOM}.pdf" '.'
purger
gpg --armor --detach-sign "${NOM}.pdf"
gpg --verify "${NOM}.pdf.asc"