mirror_frr/doc
David Lamparter 89cb86aeb0 build, vtysh: extract vtysh commands from .xref
Rather than running selected source files through the preprocessor and a
bunch of perl regex'ing to get the list of all DEFUNs, use the data
collected in frr.xref.

This not only eliminates issues we've been having with preprocessor
failures due to nonexistent header files, but is also much faster.
Where extract.pl would take 5s, this now finishes in 0.2s.  And since
this is a non-parallelizable build step towards the end of the build
(dependent on a lot of other things being done already), the speedup is
actually noticeable.

Also files containing CLI no longer need to be listed in `vtysh_scan`
since the .xref data covers everything.  `#ifndef VTYSH_EXTRACT_PL`
checks are equally obsolete.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2022-10-26 17:12:34 +01:00
..
developer build, vtysh: extract vtysh commands from .xref 2022-10-26 17:12:34 +01:00
extra *: reformat python files 2020-10-07 17:22:26 -04:00
figures pathd: Add optional support for PCEP to pathd 2020-12-18 16:47:52 +01:00
manpages doc: Fix spelling mistakes 2022-02-14 12:51:22 -05:00
mpls *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
user Merge pull request #11673 from cscarpitta/srv6-per-vrf-sid 2022-10-24 17:30:10 +03:00
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
Makefile build: non-recursive doc + parallel sphinx 2018-08-30 08:06:44 +02:00
requirements.txt doc: add requirements.txt 2021-06-03 13:35:34 -04:00
subdir.am build: refactor & revamp python autoconf logic 2019-06-04 16:21:20 +02:00