-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
42 lines (27 loc) · 1.28 KB
/
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
demos: demos/DemoSine.txt demos/DemoSinesForever.txt demos/DemoSineWait.txt demos/DemoSineWaitChange.txt
demos/%.txt:
cd demos && stack build --exec $* > $*.txt
speedtest: build
cd essence-of-live-coding-speedtest-yampa && stack build && time stack exec SpeedTest
build:
cd essence-of-live-coding && stack build
article: demos latex
latex: latex-article latex-appendix
latex-article:
cd article && pdflatex -shell-escape -interact nonstopmode EssenceOfLiveCoding.lhs
latex-abstract:
cd article && pdflatex -shell-escape -interact nonstopmode EssenceOfLiveCodingAbstract.lhs
latex-appendix:
cd article && pdflatex -shell-escape -interact nonstopmode EssenceOfLiveCodingAppendix.lhs
bibtex:
cd article && bibtex EssenceOfLiveCoding && bibtex EssenceOfLiveCodingAppendix && bibtex EssenceOfLiveCodingAbstract
article/%.png: article/%.tex
cd article && pdflatex -shell-escape $*
pictures: article/CategoryId.png article/CategoryCompose.png article/ArrowArr.png article/ArrowCompose.png
git-submodule:
git submodule init && git submodule update --checkout
revealjs: git-submodule
presentation: revealjs pictures
cd article && pandoc -s EssenceOfLiveCodingPresentation.md -t revealjs -V theme=serif -i -o EssenceOfLiveCodingPresentation.html
gears:
cd gears && stack ghci gears:exe:gears