summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..289586b
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+default: build
+
+build:
+ ls target || mkdir target
+ cp *md target/
+ pandoc -C target/paper.md -o target/paper.pdf -H https://mohit.uk/formatting.tex --pdf-engine=xelatex -V fontsize:12pt
+ pandoc -C target/paper.md --css=https://mohit.uk/document.css -s -o target/paper.html
+read:
+ zathura target/paper.pdf&
+clean:
+ rm -rf target