]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Templatize man page generation
authorJoe Stringer <joe@cilium.io>
Tue, 2 Mar 2021 17:19:44 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 02:39:45 +0000 (18:39 -0800)
commit790bfe76a15a83272baf241f9c4fa61aad50eb84
treef577e8abb39ca9891eca81ca4e561c79530ab7e7
parent3c4e68481925db7d7bce2fb86090687fa9a005bd
selftests/bpf: Templatize man page generation

Previously, the Makefile here was only targeting a single manual page so
it just hardcoded a bunch of individual rules to specifically handle
build, clean, install, uninstall for that particular page.

Upcoming commits will generate manual pages for an additional section,
so this commit prepares the makefile first by converting the existing
targets into an evaluated set of targets based on the manual page name
and section.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-13-joe@cilium.io
tools/testing/selftests/bpf/Makefile.docs