]> 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)
commitfabecd3ed364c4e35e5973ef5a9de35127783e60
treef577e8abb39ca9891eca81ca4e561c79530ab7e7
parent7e8a7f3ff374bdf5b3ec3345b576e816e3dbba2f
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