aboutsummaryrefslogtreecommitdiff
path: root/part1/report/makefile
diff options
context:
space:
mode:
authornunzip <np_scarh@e4-pattern-vm.europe-west4-a.c.electric-orbit-223819.internal>2018-12-05 19:12:56 +0000
committernunzip <np_scarh@e4-pattern-vm.europe-west4-a.c.electric-orbit-223819.internal>2018-12-05 19:12:56 +0000
commit54e0552d2f14e734809912ca0f4e7ffa1e8a682e (patch)
tree0c7a2a7b66cf6c0200ee070f1dff1656f2bdfbc5 /part1/report/makefile
parent60189ef2705ea441cadff4afd63fe396edb6550a (diff)
parent219432c1bf2d9edd9fe7d2d9108627646447a0ec (diff)
downloadvz215_np1915-54e0552d2f14e734809912ca0f4e7ffa1e8a682e.tar.gz
vz215_np1915-54e0552d2f14e734809912ca0f4e7ffa1e8a682e.tar.bz2
vz215_np1915-54e0552d2f14e734809912ca0f4e7ffa1e8a682e.zip
Resolve conflict lambda
Diffstat (limited to 'part1/report/makefile')
-rwxr-xr-xpart1/report/makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/part1/report/makefile b/part1/report/makefile
new file mode 100755
index 0000000..4af6952
--- /dev/null
+++ b/part1/report/makefile
@@ -0,0 +1,28 @@
+FILES = paper.md \
+ metadata.yaml
+
+OUTPUT = build
+
+FLAGS = --bibliography=bibliography.bib \
+ --csl=bibliography.csl \
+ -s \
+ -f markdown
+
+FLAGS_PDF = --template=template.latex
+
+all: pdf code
+
+code:
+ echo '\small\pagenumbering{gobble}' > build/code.aux
+ echo '~~~~ {.python .numberLinese}' >> build/code.aux
+ cat ../train.py >> build/code.aux
+ echo -n '~~~~' >> build/code.aux
+ pandoc -V geometry:margin=5em \
+ -o build/code.pdf build/code.aux
+ pdfjoin build/paper.pdf build/code.pdf -o build/cw1_vz215_np1915.pdf
+pdf:
+ pandoc -o $(OUTPUT)/paper.pdf $(FLAGS) $(FLAGS_PDF) $(FILES)
+
+clean:
+ rm build/*
+