Abstract out the target parameter so that upcoming commits, more than just the existing "helpers" target can be called to generate specific portions of docs from the eBPF UAPI headers.
Showing the changes to include/uapi (1 of 7 files). Show all
Unified · Split
| @@ -1439,7 +1439,7 @@ union bpf_attr { · 1438 unmodified lines | |||
| 1439 | * parsed and used to produce a manual page. The workflow is the following, | 1439 | * parsed and used to produce a manual page. The workflow is the following, |
| 1440 | * and requires the rst2man utility: | 1440 | * and requires the rst2man utility: |
| 1441 | * | 1441 | * |
| 1442 | * $ ./scripts/bpf_helpers_doc.py \ | 1442 | * $ ./scripts/bpf_doc.py \ |
| 1443 | * --filename include/uapi/linux/bpf.h > /tmp/bpf-helpers.rst | 1443 | * --filename include/uapi/linux/bpf.h > /tmp/bpf-helpers.rst |
| 1444 | * $ rst2man /tmp/bpf-helpers.rst > /tmp/bpf-helpers.7 | 1444 | * $ rst2man /tmp/bpf-helpers.rst > /tmp/bpf-helpers.7 |
| 1445 | * $ man /tmp/bpf-helpers.7 | 1445 | * $ man /tmp/bpf-helpers.7 |