forked from asilata/depgraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (16 loc) · 636 Bytes
/
Makefile
File metadata and controls
24 lines (16 loc) · 636 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
default: graph.pdf graph.tex
.stack-work/dist/*/*/build/depgraph/depgraph: app/*.hs lib/*.hs
stack build
main.aux: main.tex
latexmk -pdf -interaction=nonstopmode main
output.dot: .stack-work/dist/*/*/build/depgraph/depgraph input.txt main.tex main.aux
stack exec depgraph input.txt output.dot
graph.pdf: output.dot
dot -Tpdf output.dot > $@
graph.tex: output.dot
dot2tex --autosize --figonly output.dot -o $@
show: output.dot
dot -Tx11 output.dot
clean:
stack clean
rm -rf output.dot graph.pdf .aux *.log *.out *.snm *.toc *.vrb *.nav *.synctex.gz *.blg *.bbl *.fdb_latexmk *.fls *.ind *.idx *.ilg *.bcf *.run.xml *.xdv