Repository navigation
Commit 658e85a
tools: bpftool: harmonise Makefile and Documentation/Makefile
Several minor fixes and harmonisation items for Makefiles:
* Use the same mechanism for verbose/non-verbose output in two files
("$(Q)"), for all commands.
* Use calls to "QUIET_INSTALL" and equivalent in Makefile. In
particular, use "call(descend, ...)" instead of "make -C" to run
documentation targets.
* Add a "doc-clean" target, aligned on "doc" and "doc-install".
* Make "install" target in Makefile depend on "bpftool".
* Remove condition on DESTDIR to initialise prefix in doc Makefile.
* Remove modification of VPATH based on OUTPUT, it is unused.
* Formatting: harmonise spaces around equal signs.
* Make install path for man pages /usr/local/man instead of
/usr/local/share/man (respects the Makefile conventions, and the
latter is usually a symbolic link to the former anyway).
* Do not erase prefix if set by user in bpftool Makefile.
* Fix install target for bpftool: append DESTDIR to install path.
Signed-off-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>1 parent 62cd277 commit 658e85a
2 files changed
Lines changed: 36 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
30 | | - | |
31 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 8 | | |
24 | 9 | | |
25 | 10 | | |
| |||
28 | 13 | | |
29 | 14 | | |
30 | 15 | | |
31 | | - | |
| 16 | + | |
32 | 17 | | |
33 | 18 | | |
34 | | - | |
| 19 | + | |
35 | 20 | | |
36 | | - | |
| 21 | + | |
37 | 22 | | |
38 | 23 | | |
39 | 24 | | |
| |||
45 | 30 | | |
46 | 31 | | |
47 | 32 | | |
48 | | - | |
| 33 | + | |
49 | 34 | | |
50 | 35 | | |
51 | 36 | | |
| |||
55 | 40 | | |
56 | 41 | | |
57 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
58 | 46 | | |
59 | 47 | | |
60 | 48 | | |
61 | 49 | | |
62 | | - | |
63 | | - | |
| 50 | + | |
| 51 | + | |
64 | 52 | | |
65 | 53 | | |
66 | 54 | | |
| |||
73 | 61 | | |
74 | 62 | | |
75 | 63 | | |
76 | | - | |
| 64 | + | |
77 | 65 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
83 | 72 | | |
84 | 73 | | |
85 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
86 | 78 | | |
87 | 79 | | |
88 | | - | |
| 80 | + | |
89 | 81 | | |
90 | 82 | | |
91 | 83 | | |
92 | | - | |
| 84 | + | |
| 85 | + | |
93 | 86 | | |
0 commit comments