mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 20:20:12 +07:00
92426820f7
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:
|
||
---|---|---|
.. | ||
bash-completion | ||
Documentation | ||
cgroup.c | ||
common.c | ||
jit_disasm.c | ||
json_writer.c | ||
json_writer.h | ||
main.c | ||
main.h | ||
Makefile | ||
map.c | ||
prog.c |