-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
31 lines (23 loc) · 1.08 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
all: poster presentation thesis
mkdir -p build; cd build && cmake .. && make
poster: poster/poster.tex
poster/poster.tex: poster/poster.Rnw
cd poster && R CMD Sweave poster.Rnw
mkdir -p build/poster
mv -f poster/poster-*.pdf build/poster/ || true
presentation: presentation/presentation.tex
presentation/presentation.tex: presentation/presentation.Rnw
cd presentation && R CMD Sweave presentation.Rnw
mkdir -p build/presentation
mv -f presentation/presentation-*.pdf build/presentation/ || true
thesis: thesis/thesis.tex
thesis/thesis.tex: thesis/thesis.Rnw thesis/00_frontmatter.Rnw thesis/01_introduction.Rnw thesis/02_definitions.Rnw thesis/03_sequential.Rnw thesis/04_strict.Rnw thesis/05_relaxed.Rnw thesis/06_implementation.Rnw thesis/07_evaluation.Rnw thesis/08_conclusion.Rnw thesis/09_appendices.Rnw thesis/pqplot.Rnw thesis/results/*
cd thesis && R CMD Sweave thesis.Rnw
mkdir -p build/thesis
mv -f thesis/thesis-*.pdf build/thesis/ || true
clean:
rm -rf build/ \
thesis/thesis.tex \
poster/poster.tex \
presentation/presentation.tex
.PHONY: thesis clean