diff options
| author | Quentin Monnet <[email protected]> | 2018-02-08 04:27:14 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2018-02-08 10:59:50 +0000 |
| commit | 92426820f7616caebdf6ba665f749102a670b3d4 (patch) | |
| tree | 572bcc5f3d885cc4917d2baf80f76877a4e6fb60 /drivers/fpga/fpga-bridge.c | |
| parent | libbpf: complete list of strings for guessing program type (diff) | |
| download | kernel-92426820f7616caebdf6ba665f749102a670b3d4.tar.gz kernel-92426820f7616caebdf6ba665f749102a670b3d4.zip | |
tools: bpftool: exit doc Makefile early if rst2man is not available
If rst2man is not available on the system, running `make doc` from the
bpftool directory fails with an error message. However, it creates empty
manual pages (.8 files in this case). A subsequent call to `make
doc-install` would then succeed and install those empty man pages on the
system.
To prevent this, raise a Makefile error and exit immediately if rst2man
is not available before generating the pages from the rst documentation.
Fixes: ff69c21a85a4 ("tools: bpftool: add documentation")
Reported-by: Jason van Aaardt <[email protected]>
Signed-off-by: Quentin Monnet <[email protected]>
Reviewed-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
