aboutsummaryrefslogtreecommitdiff
path: root/report/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'report/makefile')
-rw-r--r--report/makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/report/makefile b/report/makefile
new file mode 100644
index 0000000..6359a42
--- /dev/null
+++ b/report/makefile
@@ -0,0 +1,20 @@
+FILES = paper.md \
+ metadata.yaml
+
+OUTPUT = build
+
+FLAGS = --bibliography=bibliography.bib \
+ --csl=bibliography.csl \
+ -s \
+ -f markdown
+
+FLAGS_PDF = --template=template.latex
+
+all: pdf
+
+pdf:
+ pandoc -o $(OUTPUT)/paper.pdf $(FLAGS) $(FLAGS_PDF) $(FILES)
+
+clean:
+ rm build/*
+