aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-01-25 21:15:04 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-01-25 22:27:20 -0500
commit9c59c5ceee25bd51caed237ca7343ced1620a1eb (patch)
tree5203cebd4a43578a5f9d326aa70b646f4569ef31 /make
parent20889ca6f15169900f4cf9df2c4558ea91b1491d (diff)
make now includes poster
Diffstat (limited to 'make')
-rwxr-xr-xmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/make b/make
index 2d61236..2cd51b6 100755
--- a/make
+++ b/make
@@ -31,7 +31,11 @@ rm document/report.log
cp assets/* outputs/
qrencode https://hrhr.dev/r -o qr.png || echo "For QR code, install \`qrencode\`"
magick qr.png -gravity south -background white -splice 0x10 -draw 'text 0,0 hrhr.dev/r' outputs/qr.png || echo 'Install imagemagick for qr code'
-rm format.tex pageno.tex document/pageno.tex pageno2.tex document/pageno2.tex qr.svg
+cd poster
+pdftex document.tex
+mv document.pdf ../outputs/posterboard.pdf
+cd ..
+rm format.tex pageno.tex document/pageno.tex pageno2.tex document/pageno2.tex document.log
}
cd $dir