summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMohit Agarwal <mohit.agarwal@sky.com>2021-07-31 16:35:57 +0100
committerMohit Agarwal <mohit.agarwal@sky.com>2021-07-31 16:35:57 +0100
commit1995306459188c7b3ce686a6ce7365c641764935 (patch)
treeaff846301744128b744eed37193910f3b1bab138 /Makefile
parenta512f29432a0f5edf01b5e9feae6d570c6b4c11d (diff)
Chosen question and started researchHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..eee07d9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,25 @@
+default: build
+
+build:
+ ls -1 | grep target || mkdir target
+ pandoc -C paper.md --pdf-engine=xelatex -H https://mohit.uk/formatting.tex -V fontsize:12pt -o target/paper.pdf
+ pandoc -C paper.md --css=https://mohit.uk/document.css -s -o target/paper.html
+
+ make plan
+ cp target/paper.pdf 'target/Agarwal,Mohit.pdf'
+
+plan:
+ pandoc plan.md --pdf-engine=xelatex -H https://mohit.uk/formatting.tex -V fontsize:12pt -o target/plan.pdf
+
+clean:
+ rm -rf target
+
+count:
+ echo "Maximum wordcount (including bibliography):"
+ echo "3500"
+ echo "Current wordcount (including bibliography):"
+ pandoc -C
+ paper.md -t plain | wc -w
+
+read:
+ zathura target/paper.pdf&