aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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