summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMohit Agarwal <mohit.agarwal@sky.com>2021-08-29 00:20:36 +0100
committerMohit Agarwal <mohit.agarwal@sky.com>2021-08-29 00:20:36 +0100
commit7b93ad57006ce692a4a56a82a2ef212c49745d4a (patch)
tree31a64de88a548b8cc7f3a1abb57b0ef4404ea09d /Makefile
Initial commit
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