From c1ef62804f80407b611115fae3771912cde4a241 Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Sat, 11 Jan 2020 23:46:19 -0500
Subject: made make shell better
---
make | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'make')
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
--
cgit