-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile
31 lines (24 loc) · 1.09 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
DOCUMENT=ldbc-snb-specification.tex
spec: $(DOCUMENT) choke-points/choke-points-queries.tex $(wildcard query-specifications/*.yaml)
latexmk -pdf --interaction=batchmode $(DOCUMENT)
all: choke-points/choke-points-queries.tex query_cards workloads texfot
ls *.pdf
choke-points/choke-points-queries.tex: $(wildcard query-specifications/*.yaml)
./generate-tex.py
query_cards: $(DOCUMENT) choke-points/choke-points-queries.tex
cd standalone-query-cards && \
for card in *.tex; do \
echo $$card ; \
pdflatex --interaction=batchmode $$card ; \
pdflatex --interaction=batchmode $$card ; \
done
workloads: $(DOCUMENT) $(wildcard query-specifications/*.yaml)
for doc in workload-*.tex; do \
./texfot.pl latexmk -pdf --interaction=batchmode $$doc ; \
done
texfot: $(DOCUMENT) choke-points/choke-points-queries.tex
./texfot.pl latexmk -pdf --interaction=batchmode $(DOCUMENT)
clean:
rm -f *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk
cd standalone-query-cards && rm -rf *.aux *.dvi *.thm *.lof *.log *.lot *.fls *.out *.toc *.bbl *.blg *.fdb_latexmk
rm -f query-cards/*