-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
46 lines (37 loc) · 995 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
HOST?=ddpg
SIZE?=64
docs/slides/slides.pdf:
cd docs/slides && \
pandoc \
-t beamer \
--latex-engine pdflatex \
--bibliography library.bib \
--filter pandoc-citeproc \
--highlight-style tango \
--slide-level 2 \
-o slides.pdf \
slides.yaml *.md
slides: docs/slides/slides.pdf
docs/report/report.pdf: docs/report/report.md
cd docs/report && \
pandoc \
--latex-engine pdflatex \
--bibliography library.bib \
--filter pandoc-citeproc \
--highlight-style tango \
-o report.pdf \
*.md
report: docs/report/report.pdf
submission: docs/submission.md
pandoc -o submission.pdf docs/submission.md
provision:
docker-machine create ${HOST} \
--driver amazonec2 \
--amazonec2-region us-east-1 \
--amazonec2-zone a \
--amazonec2-instance-type c4.xlarge \
--amazonec2-security-group docker-machine \
--amazonec2-request-spot-instance \
--amazonec2-spot-price 0.2 \
--amazonec2-root-size ${SIZE} \
--amazonec2-ami ami-80861296 # official ubuntu 16.04