-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathmake2graph.1
65 lines (65 loc) · 1.81 KB
/
make2graph.1
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
.\" This is a comment
.\" Contact @yokofakun
.TH make2graph 1 "17 Sept 2014" "Creates a graph of dependencies from GNU-Make"
.SH NAME
makefile2graph \- Creates a graph of dependencies from GNU-Make
.SH SYNOPSIS
make -Bnd | make2graph [OPTIONS] > output.gv
.SH DESCRIPTION
Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file. sub-makefiles are not supported.
.SH OPTIONS
.TP
.B \f[B]-f\f[R], \f[B]--format\f[R] <format>
Selects the output format. See the output formats section below for reference.
.TP
.B \f[B]-b\f[R], \f[B]--basename\f[R]
only print file basename
.TP
.B \f[B]-s\f[R], \f[B]--basename\f[R]
only print file suffix
.TP
.B \f[B]-r\f[R], \f[B]--root\f[R]
show root node
.TP
.B \f[B]-c\f[R], \f[B]--colorscheme\f[R] <name>
Sets colorscheme applied interleaved to all nodes
.TP
.B \f[B]-g\f[R], \f[B]--graph-attributes\f[R] <name1=value1>[,name2=value2,...]
Sets attributes applied to the graph
.TP
.B \f[B]-n\f[R], \f[B]--node-attributes\f[R] <name1=value1>[,name2=value2,...]
Sets attributes attributes applied to all nodes
.TP
.B \f[B]-e\f[R], \f[B]--edge-attributes\f[R] <name1=value1>[,name2=value2,...]
Sets attributes attributes applied to all edges
.TP
.B \f[B]-d\f[R], \f[B]--dirty-attributes\f[R] <name1=value1>[,name2=value2,...]
Sets attributes applied to dirty nodes only
.TP
.B \f[B]-v\f[R], \f[B]--version\f[R]
print version
.SH OUTPUT FORMATS
.PP
make2graph can generate the following output formats:
.TP
\f[B]\f[CB]x\f[B]\f[R]
XML output (gexf)
.TP
\f[B]\f[CB]m\f[B]\f[R]
Mermaid output
.TP
\f[B]\f[CB]p\f[B]\f[R]
PlantUML output
.TP
\f[B]\f[CB]E\f[B]\f[R]
print a list of deepest targets
.TP
\f[B]\f[CB]l\f[B]\f[R]
print a list of targets
.TP
\f[B]\f[CB]d\f[B]\f[R]
dot output (default)
.SH SEE ALSO
makefile2graph(1), make(1), dot(1)
.SH AUTHOR
Pierre Lindenbaum (@yokofakun)