aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorHolden Rohrer <hr@hrhr.dev>2020-02-06 19:09:36 -0500
committerHolden Rohrer <hr@hrhr.dev>2020-02-06 19:32:24 -0500
commit8381e3df41b6c8d04c2bae2bb65eba0fb08368e2 (patch)
tree8acee97bb5c371f837bf591eb5136b73a1b4dcd6 /make
parent19d5a56264d1a718425b24469dfc149db1fc33c3 (diff)
switched to makefile build
Diffstat (limited to 'make')
-rwxr-xr-xmake40
1 files changed, 0 insertions, 40 deletions
diff --git a/make b/make
deleted file mode 100755
index fc5da29..0000000
--- a/make
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-create(){
-mkdir imgs
-cd imgs
-python3 ../data.py img || python ../data.py img || echo "You must install python3"
-cd ..
-mkdir graph
-cd graph
-python3 ../data.py depwid || python ../data.py depwid
-python3 ../data.py nei || python ../data.py nei
-cd ..
-mkdir outputs
-cd document
-cp format.orig.tex format.tex
-pdftex report.tex || echo "You must install \`pdftex\` (MacTeX, TeXLive, MikTeX, etc)"
-mv report.pdf ../outputs/report-double.pdf
-sed format.orig.tex -e 's/\\baselineskip=24pt/\\baselineskip=14pt/g' >format.tex
-pdftex report.tex
-mv report.pdf ../outputs/report-single.pdf
-cd ..
-rm *.log
-rm document/report.log
-cp assets/* outputs/
-qrencode https://hrhr.dev/report.pdf -o outputs/qr.png || echo "For QR code, install \`qrencode\`"
-qrencode https://git.hrhr.dev/scifair -o outputs/qr-source.png
-cd poster
-pdftex document.tex
-mv document.pdf ../outputs/posterboard.pdf
-cd ..
-gs -sDEVICE=pngalpha -r288 -o outputs/posterboard.png outputs/posterboard.pdf || echo "You must install ghostscript to obtain a posterboard png"
-pdftex logbook.tex
-mv logbook.pdf outputs/
-rm document/format.tex document.log logbook.log
-}
-
-export orig="$(pwd)"
-cd $(dirname $0)
-create 2>/dev/null
-cd $orig