aboutsummaryrefslogtreecommitdiffhomepage
path: root/notes/mathe1/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'notes/mathe1/makefile')
-rw-r--r--notes/mathe1/makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/notes/mathe1/makefile b/notes/mathe1/makefile
new file mode 100644
index 0000000..3cd45c6
--- /dev/null
+++ b/notes/mathe1/makefile
@@ -0,0 +1,12 @@
+VIEW = zathura
+
+all:
+ @mkdir -p build/
+ @pandoc main.md --toc -N -V fontsize=11pt -V geometry:a4paper -V geometry:margin=2.5cm -o build/main.pdf --pdf-engine-opt=-shell-escape
+ @cp build/main.pdf .
+
+clean:
+ @$(RM) -rf build
+
+run: clean all
+ @$(VIEW) build/main.pdf