aboutsummaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
Diffstat (limited to 'make')
-rwxr-xr-xmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/make b/make
index 3c332bd..52d7e71 100755
--- a/make
+++ b/make
@@ -1,9 +1,13 @@
#!/bin/sh
-mkdir imgs 2>/dev/null
+create(){
+mkdir imgs
cd imgs
python3 ../data.py img || python ../data.py img || echo "You must install python3"
cd ..
cd document
pdftex report.tex || echo "You must install \`pdftex\` (MacTeX, TeXLive, MikTeX, etc)"
cd ..
+}
+
+create 2>/dev/null