diff options
author | Quentin Monnet <quentin@isovalent.com> | 2020-09-10 23:39:35 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-09-11 06:10:45 +0300 |
commit | 18841da98100c936990ac9013d55bf6b40e1f609 (patch) | |
tree | b93523a925b01bb205e8a16a7daa1d8b9b1a1d1f /include/net/inet_connection_sock.h | |
parent | 1aef5b4391f0c75c0a1523706a7b0311846ee12f (diff) | |
download | linux-18841da98100c936990ac9013d55bf6b40e1f609.tar.xz |
tools: bpftool: Automate generation for "SEE ALSO" sections in man pages
The "SEE ALSO" sections of bpftool's manual pages refer to bpf(2),
bpf-helpers(7), then all existing bpftool man pages (save the current
one).
This leads to nearly-identical lists being duplicated in all manual
pages. Ideally, when a new page is created, all lists should be updated
accordingly, but this has led to omissions and inconsistencies multiple
times in the past.
Let's take it out of the RST files and generate the "SEE ALSO" sections
automatically in the Makefile when generating the man pages. The lists
are not really useful in the RST anyway because all other pages are
available in the same directory.
v3:
- Fix conflict with a previous patchset that introduced RST2MAN_OPTS
variable passed to rst2man.
v2:
- Use "echo -n" instead of "printf" in Makefile, to avoid any risk of
passing a format string directly to the command.
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200910203935.25304-1-quentin@isovalent.com
Diffstat (limited to 'include/net/inet_connection_sock.h')
0 files changed, 0 insertions, 0 deletions