build: doc: "make" builds & installs a full set of man pages
cover build: doc: "make" builds & installs a full set of man pages
This patch gets us out of the unfortunate situation where there are man pages for all functions in (old, libnfnetlink-based) sample program libnetfilter_queue/utils/nfqnl_test.c but not for the libmnl-based libnetfilter_queue/examples/nf-queue.c.
From libnetfilter_queue we know how to generate a full set of man pages during make so let's do it for libmnl.
This patch sets up the framework: in future patches I plan to update the doxygen comments to be more man-page-friendly, e.g. by using \returns and \sa where appropriate.
Duncan Roe (1):
build: doc: "make" builds & installs a full set of man pages
Makefile.am | 4 +- configure.ac | 24 +++++- doxygen.cfg.in | 176 ++------------------------------------------ doxygen/Makefile.am | 75 +++++++++++++++++++ 4 files changed, 107 insertions(+), 172 deletions(-) create mode 100644 doxygen/Makefile.am
Signature · 1 line
2.17.5
PATCH 1/1 build: doc: "make" builds & installs a full set of man pages
Repeat what we did for libnetfilter_queue:
- New makefile in doxygen directory. Rebuilds documentation if any sources change that contain doxygen comments:
- Renames each group man page to the first function listed therein
- Creates symlinks for subsequently listed functions
- Deletes _* temp files and moves sctruct-describing man pages to man7
- Update top-level makefile to visit new subdir doxygen
- Update top-level configure to only build documentation if doxygen installed
- Add --with/without-doxygen switch
- Check whether dot is available when configuring doxygen
- Reduce size of doxygen.cfg and doxygen build o/p
- make distcheck passes with doxygen enabled
Aditionally, exclude opaque structs mnl_nlmsg_batch & mnl_socket
--- Makefile.am | 4 +- configure.ac | 24 +++++- doxygen.cfg.in | 176 ++------------------------------------------ doxygen/Makefile.am | 75 +++++++++++++++++++ 4 files changed, 107 insertions(+), 172 deletions(-) create mode 100644 doxygen/Makefile.am
Makefile.am +2 -2
@@ -2,8 +2,8 @@ include $(top_srcdir)/Make_global.am ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = src include examples -DIST_SUBDIRS = src include examples +SUBDIRS = src include examples doxygen +DIST_SUBDIRS = src include examples doxygen pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = libmnl.pc
configure.ac +23 -1
@@ -27,5 +27,27 @@ regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \ -Wformat=2 -pipe" AC_SUBST([regular_CPPFLAGS]) AC_SUBST([regular_CFLAGS]) -AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile examples/genl/Makefile examples/kobject/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg]) +AC_CONFIG_FILES([Makefile src/Makefile include/Makefile include/libmnl/Makefile include/linux/Makefile include/linux/netfilter/Makefile examples/Makefile examples/genl/Makefile examples/kobject/Makefile examples/netfilter/Makefile examples/rtnl/Makefile libmnl.pc doxygen.cfg doxygen/Makefile]) + +AC_ARG_WITH([doxygen], [AS_HELP_STRING([--with-doxygen], + [create doxygen documentation])], + [with_doxygen="$withval"], [with_doxygen=yes]) + +AS_IF([test "x$with_doxygen" != xno], [ + AC_CHECK_PROGS([DOXYGEN], [doxygen]) + AC_CHECK_PROGS([DOT], [dot], [""]) + AS_IF([test "x$DOT" != "x"], + [AC_SUBST(HAVE_DOT, YES)], + [AC_SUBST(HAVE_DOT, NO)]) +]) + +AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"]) +AS_IF([test "x$DOXYGEN" = x], [ + dnl Only run doxygen Makefile if doxygen installed + AC_MSG_WARN([Doxygen not found - continuing without Doxygen support]) +]) AC_OUTPUT + +echo " +libmnl configuration: + doxygen: ${with_doxygen}"
doxygen.cfg.in +7 -169
191 lines not on this page · raw message
doxygen/Makefile.am new file +75 -0
75 lines not on this page · raw message
Signature · 1 line
2.17.5
Quoted 5 lines · Duncan Roe
Repeat what we did for
libnetfilter_queue:
- New makefile in doxygen directory. Rebuilds documentation if any sources change that contain doxygen comments:
- Renames each group man page to the first function listed therein
- Creates symlinks for subsequently listed functions
Quoted 8 lines
- Deletes _* temp files and moves sctruct-describing man pages to man7
- Update top-level makefile to visit new subdir doxygen
- Update top-level configure to only build documentation if doxygen installed
- Add --with/without-doxygen switch
- Check whether dot is available when configuring doxygen
- Reduce size of doxygen.cfg and doxygen build o/p
-make distcheckpasses with doxygen enabled
Aditionally, exclude opaque structsmnl_nlmsg_batch&mnl_socket
Applied, thanks.
One thing that needs a fix (both libnetfilter_queue and libmnl).
If doxygen is not installed...
configure: WARNING: Doxygen not found - continuing without Doxygen support
it warns that it is missing...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/Makefile config.status: creating include/libmnl/Makefile config.status: creating include/linux/Makefile config.status: creating include/linux/netfilter/Makefile config.status: creating examples/Makefile config.status: creating examples/genl/Makefile config.status: creating examples/kobject/Makefile config.status: creating examples/netfilter/Makefile config.status: creating examples/rtnl/Makefile config.status: creating libmnl.pc
config.status: creating doxygen.cfg
config.status: creating doxygen/Makefile config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands config.status: executing libtool commands
libmnl configuration:
doxygen: yes
but it says yes here.
I'd prefer if documentation is not enabled by default, ie. users have to explicitly specify --with-doxygen=yes to build documentation, so users explicitly picks what they needs.
Please, follow up with a few patches, thanks.
On Wed, Jun 23, 2021 at 07:26:21PM +0200, Pablo Neira Ayuso wrote:
[...]
Quoted 35 lines
Applied, thanks.
One thing that needs a fix (both
libnetfilter_queueand libmnl).If doxygen is not installed...
configure: WARNING: Doxygen not found - continuing without Doxygen support
it warns that it is missing...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creatingMakefile
config.status: creating src/Makefile
config.status: creatinginclude/Makefileconfig.status: creatinginclude/libmnl/Makefileconfig.status: creatinginclude/linux/Makefileconfig.status: creatinginclude/linux/netfilter/Makefileconfig.status: creating examples/Makefile config.status: creating examples/genl/Makefile config.status: creating examples/kobject/Makefile config.status: creating examples/netfilter/Makefile config.status: creating examples/rtnl/Makefile config.status: creating libmnl.pc
config.status: creating doxygen.cfg
config.status: creating doxygen/Makefile config.status: creatingconfig.h
config.status:config.his unchanged
config.status: executing depfiles commands config.status: executing libtool commandslibmnl configuration:
doxygen: yes
Quoted 6 lines
but it says yes here.
I'd prefer if documentation is not enabled by default, ie. users have to explicitly specify --with-doxygen=yes to build documentation, so users explicitly picks what they needs.
I'm fine with *html* being optional:
--enable-html build HTML documentation [default=no]
ATM make install doesn't do anything with the html dir. With --enable-html, I guess it should install html/ where --htmldir points [DOCDIR].
But I think not having man pages in the past was a serious deficiency which we can now address.
Think of it from a (Linux) Distributor's point of view. Man pages take up very little space in the distribution medium: symlinks are removed and the remaining pages compressed. Man pages stay compressed on installation and the symlinks are re-created by the postinstall script (and now as .gz or whatever files).
Typical end-users of the distribution won't have source, so the *need* documentation.
Personally I'm happy if the build depends on doxygen and fails if it's not installed.
If you inmsist on only printing a warning when doxygen is not installed then in that event .configure could output:
Quoted 3 lines
libmnl configuration:
doxygen: no
man pages: no
with no "man pages" line when doxygen is installed.
What do you think?
Cheers ... Duncan.
On Sun, Jun 27, 2021 at 02:30:55PM +1000, Duncan Roe wrote:
[...]
Quoted 5 lines
Quoted 4 lines
libmnl configuration:
doxygen: no
man pages: no
[...]
I meant:
Quoted 3 lines
libmnl configuration:
html: no
man pages: no
Cheers ... Duncan.
Pablo Neira Ayuso
maintainerQuoted 52 lines · Duncan Roe
On Wed, Jun 23, 2021 at 07:26:21PM +0200, Pablo Neira Ayuso wrote:
[...]
Quoted 35 lines
Applied, thanks.
One thing that needs a fix (both
libnetfilter_queueand libmnl).If doxygen is not installed...
configure: WARNING: Doxygen not found - continuing without Doxygen support
it warns that it is missing...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creatingMakefile
config.status: creating src/Makefile
config.status: creatinginclude/Makefileconfig.status: creatinginclude/libmnl/Makefileconfig.status: creatinginclude/linux/Makefileconfig.status: creatinginclude/linux/netfilter/Makefileconfig.status: creating examples/Makefile config.status: creating examples/genl/Makefile config.status: creating examples/kobject/Makefile config.status: creating examples/netfilter/Makefile config.status: creating examples/rtnl/Makefile config.status: creating libmnl.pc
config.status: creating doxygen.cfg
config.status: creating doxygen/Makefile config.status: creatingconfig.h
config.status:config.his unchanged
config.status: executing depfiles commands config.status: executing libtool commandslibmnl configuration:
doxygen: yesQuoted 6 lines
but it says yes here.
I'd prefer if documentation is not enabled by default, ie. users have to explicitly specify --with-doxygen=yes to build documentation, so users explicitly picks what they needs.
I'm fine with *html* being optional:
--enable-html build HTML documentation [default=no]
ATM
make installdoesn't do anything with the html dir. With --enable-html, I guess it should install html/ where --htmldir points [DOCDIR].
Quoted 7 lines
But I think not having man pages in the past was a serious deficiency which we can now address.
Think of it from a (Linux) Distributor's point of view. Man pages take up very little space in the distribution medium: symlinks are removed and the remaining pages compressed. Man pages stay compressed on installation and the symlinks are re-created by the postinstall script (and now as .gz or whatever files).
We are not Linux distributors, it's up to them to decide what they are shipping in their packages, this debate is out of our scope. Assuming that enabling this by default will not make them include this.
Most users rely on libmnl because they use some utility that pulls in this dependency, most of them are not developers.
Quoted 5 lines
Typical end-users of the distribution won't have source, so the *need* documentation.
Personally I'm happy if the build depends on doxygen and fails if it's not installed.
That's probably fine for you, but embedded developer will not be happy with this dependency.
Quoted 8 lines
If you inmsist on only printing a warning when doxygen is not installed then in that event .configure could output:
Quoted 3 lines
libmnl configuration:
doxygen: no
man pages: nowith no "man pages" line when doxygen is installed.
I'd really prefer to retain the existing default that has been in place for many years.
Quoted 1 line
What do you think?
It's also possible to provide up to date snapshots in the Netfilter website to give it more visibility.
BTW, the autogenerated manpage differs quite a bit from standard manpages in other existing packages? Do you know of any other software following this approach of converting doxygen to manpage?
Thanks.
Quoted 56 lines · Pablo Neira Ayuso
Quoted 55 lines · Duncan Roe
On Wed, Jun 23, 2021 at 07:26:21PM +0200, Pablo Neira Ayuso wrote:
[...]
Quoted 35 lines
Applied, thanks.
One thing that needs a fix (both
libnetfilter_queueand libmnl).If doxygen is not installed...
configure: WARNING: Doxygen not found - continuing without Doxygen support
it warns that it is missing...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creatingMakefile
config.status: creating src/Makefile
config.status: creatinginclude/Makefileconfig.status: creatinginclude/libmnl/Makefileconfig.status: creatinginclude/linux/Makefileconfig.status: creatinginclude/linux/netfilter/Makefileconfig.status: creating examples/Makefile config.status: creating examples/genl/Makefile config.status: creating examples/kobject/Makefile config.status: creating examples/netfilter/Makefile config.status: creating examples/rtnl/Makefile config.status: creating libmnl.pc
config.status: creating doxygen.cfg
config.status: creating doxygen/Makefile config.status: creatingconfig.h
config.status:config.his unchanged
config.status: executing depfiles commands config.status: executing libtool commandslibmnl configuration:
doxygen: yesQuoted 6 lines
but it says yes here.
I'd prefer if documentation is not enabled by default, ie. users have to explicitly specify --with-doxygen=yes to build documentation, so users explicitly picks what they needs.
I'm fine with *html* being optional:
--enable-html build HTML documentation [default=no]
ATM
make installdoesn't do anything with the html dir. With --enable-html, I guess it should install html/ where --htmldir points [DOCDIR].But I think not having man pages in the past was a serious deficiency which we can now address.
Quoted 8 lines
Quoted 4 lines
Think of it from a (Linux) Distributor's point of view. Man pages take up very little space in the distribution medium: symlinks are removed and the remaining pages compressed. Man pages stay compressed on installation and the symlinks are re-created by the postinstall script (and now as .gz or whatever files).
We are not Linux distributors, it's up to them to decide what they are shipping in their packages, this debate is out of our scope. Assuming that enabling this by default will not make them include this.
Not sure about that. It seems to me, most distros build the default configuration and remove stuff. F.I. if there is a "-devel" package variant then the base package will have neither man pages nor header files. Yet we always distribute header files. Man pages are a little bigger, but less than twice the size of headers for libmnl & libnfq (i.e. compressed pages with symlinks).
Quoted 3 lines
Most users rely on libmnl because they use some utility that pulls in this dependency, most of them are not developers.
So they won't install the -devel package.
[...]
Will address your other points in a future email,
Cheers ... Duncan.
On Tue, Jun 29, 2021 at 11:38:37AM +0200, Pablo Neira Ayuso wrote: [...]
Quoted 2 lines
Do you know of any other software
following this approach of converting doxygen to manpage?
No I do not. Otherwise I would have based my patches on them.
Doxygen does not play nicely with GNU autools. The best post I found on the subject is
http://chris-miceli.blogspot.com/2011/01/integrating-doxygen-with-autotools.html
Please be sure to read the comments at the end if you go there ;)
Cheers ... Duncan.
Hi Pablo,
Quoted 2 lines · Pablo Neira Ayuso
BTW, the autogenerated manpage differs quite a bit from standard manpages in other existing packages?
I noticed one substantial difference - missing the SYNOPSIS listing the required #include lines.
The patch below adresses that, for the libnfq pktbuff modules.
After applying the patch, do you still see any substantial shortcomings in e.g. man pktb_alloc?
Using doxygen does impose some stylistic differences, but compared to, say, man XShape I think pktb_alloc(3) looks pretty normal? (You might need to install libXext-devel for XShape(3)).
If you would apply the libnfq patch, I can get on with fixing the rest of libnfq and libmnl.
Cheers ... Duncan.
Duncan Roe (1):
src: doc: supply missing SYNOPSIS in pktbuff man pages
src/extra/pktbuff.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.5
RFC PATCH 1/1 src: doc: supply missing SYNOPSIS in pktbuff man pages
In reply to Pablo Neira AyusoSynopsis only has required headers, since doxygen already output the function summary. HTML only has 2 small changes for better man page readability:
the Synopsis lines are manonly (had to do that to get SYNOPSIS over to cc 1).
--- src/extra/pktbuff.c | 45 +++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-)
src/extra/pktbuff.c +41 -4
@@ -23,8 +23,21 @@/** * \defgroup pktbuff User-space network packet buffer * -* This library provides the user-space network packet buffer. This abstraction -* is strongly inspired by Linux kernel network buffer, the so-called sk_buff. +* These functions provide the user-space network packet buffer. +* This abstraction is strongly inspired by Linux kernel network buffer, +* the so-called sk_buff. +* +* \manonly +.RE +.RS -7 +.nf +\fBSYNOPSIS +.RE +#include <stdint.h> +#include <stdbool.h> +#include <sys/socket.h> +#include <libnetfilter_queue/pktbuff.h> +\endmanonly * * @{ */
@@ -150,8 +163,20 @@ void pktb_free(struct pkt_buff *pktb)* \n * 1. Functions to get values of members of opaque __struct pktbuff__, described * below -* \n +* * 2. Internal functions, described in Module __Internal functions__ +* +* \manonly +.RE +.RS -7 +.nf +\fBSYNOPSIS +.RE +#include <stdint.h> +#include <stdbool.h> +#include <sys/socket.h> +#include <libnetfilter_queue/pktbuff.h> +\endmanonly * * @{ */
@@ -159,11 +184,23 @@ void pktb_free(struct pkt_buff *pktb)/** * \defgroup uselessfns Internal functions * -* \warning Do not use these functions. Instead, always use the mangle +* Do not use these functions. Instead, always use the mangle * function appropriate to the level at which you are working. * \n * pktb_mangle() uses all the below functions except _pktb_pull_, which is not * used by anything. +* +* \manonly +.RE +.RS -7 +.nf +\fBSYNOPSIS +.RE +#include <stdint.h> +#include <stdbool.h> +#include <sys/socket.h> +#include <libnetfilter_queue/pktbuff.h> +\endmanonly * * @{ */
Signature · 1 line
2.17.5
Pablo Neira Ayuso
maintainerRe: [PATCH RFC libnetfilter_queue 1/1] src: doc: supply missing SYNOPSIS in pktbuff man pages
Quoted 3 lines · Duncan Roe
Synopsis only has required headers, since doxygen already output the function summary. HTML only has 2 small changes for better man page readability:
the Synopsis lines are manonly (had to do that to get SYNOPSIS over to cc 1).
It's fine to add more specific "manonly" information.
The existing autogenerated manpages are still a bit distant to usual Linux Programmer's Manual manpages at quick glance.
Go ahead.
Re: [PATCH RFC libnetfilter_queue 1/1] src: doc: supply missing SYNOPSIS in pktbuff man pages
Quoted 2 lines · Pablo Neira Ayuso
The existing autogenerated manpages are still a bit distant to usual Linux Programmer's Manual manpages at quick glance.
I guess doxygen-generated man pages will always be a little bit "distinctive".
Looking carefully, I see a number of doxygen artefacts that can be post-processed away.
And I do see one substantive difference: the NAME section should have a list of functions instead of the (internal use only) module name. So:
Quoted 1 line
pktbuff - User-space network packet buffer
should be
Quoted 1 line
pktb_alloc,pktb_data,pktb_len,pktb_free,pktb_mangle,pktb_mangled- User-space network packet buffer
The rest is window-dressing. Here's a list of changes (from top down (mostly)):
- Fix NAME entry as above
- If there is a "Modules" section, delete it
- If "Detailed Description" is empty, delete "Detailed Description" line
- otherwise rename it "Overview" maybe, since Function Documentation contains detailed descriptions
- Reposition SYNOPSIS line through 1st blank line to before "Functions" line
- Delete "Functions" line
- Delete all "Definition at line nnn" lines
- Delete "Author" section (or should I leave that?)
My sed-fu is not up to doing this. I'll be using the rather more programmable but little-known Q editor. Q is available at
https://sourceforge.net/projects/q-editor/ or from
https://github.com/duncan-roe/q
I'll put together a Q-macro suite to implement the above. Then I'll post before/after samples of a short and a long page, say icmp & pktbuff.
If you think the changes are worth having, can then update Makefile.am with a post-processing section that only runs if Q is available.
Cheeers ... Duncan.
Pablo Neira Ayuso
maintainerRe: [PATCH RFC libnetfilter_queue 1/1] src: doc: supply missing SYNOPSIS in pktbuff man pages
Quoted 8 lines · Duncan Roe
Quoted 2 lines · Pablo Neira Ayuso
The existing autogenerated manpages are still a bit distant to usual Linux Programmer's Manual manpages at quick glance.
I guess doxygen-generated man pages will always be a little bit "distinctive".
Looking carefully, I see a number of doxygen artefacts that can be post-processed away.
I mean: If you can achieve this via standard features available in doxygen to keep this maintainable along time, such as \manonly or such, then that's good.
Otherwise, extending doxygen should be the way to keep it simple. I understand doxygen might generate a little but "distintive" output, that's OK. I'd rather not to add more dependencies on this.
Thanks.
Re: [PATCH RFC libnetfilter_queue 1/1] src: doc: supply missing SYNOPSIS in pktbuff man pages
Quoted 14 lines · Pablo Neira Ayuso
Quoted 8 lines · Duncan Roe
Quoted 2 lines · Pablo Neira Ayuso
The existing autogenerated manpages are still a bit distant to usual Linux Programmer's Manual manpages at quick glance.
I guess doxygen-generated man pages will always be a little bit "distinctive".
Looking carefully, I see a number of doxygen artefacts that can be post-processed away.
I mean: If you can achieve this via standard features available in doxygen to keep this maintainable along time, such as \manonly or such, then that's good.
Quoted 5 lines
Otherwise, extending doxygen should be the way to keep it simple. I understand doxygen might generate a little but "distintive" output, that's OK. I'd rather not to add more dependencies on this.
Thanks.
Fine with not adding more dependencies.
Using only standard shell tools, I went ahead with post-processing man pages because there are no standard features available in doxygen to do what I wanted.
I've attached a sample of what I hope you'll see on applying my 2 new patches "Insert SYNOPSIS sections for man pages" and "Fix NAME entry in man pages". The sample was made by doxygen-1.9.1, earlier versions e.g. doxygen-1.8.9.1 generate a few extra blank lines.
To view, save attachment and in another window man ./pktb_alloc.3.gz.
Cheers ... Duncan.
Re: [PATCH RFC libnetfilter_queue 1/1] src: doc: supply missing SYNOPSIS in pktbuff man pages
Quoted 3 lines · Pablo Neira Ayuso
The sample was made by doxygen-1.9.1, earlier versions e.g. doxygen-1.8.9.1 generate a few extra blank lines.
It's the older man command inserting the blank lines, not doxygen.
Cheers ... Duncan.
Hi Pablo,
Quoted 2 lines · Pablo Neira Ayuso
Quoted 2 lines · Pablo Neira Ayuso
Quoted 1 line
[...]
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
I'd prefer if documentation is not enabled by default, ie. users have to explicitly specify --with-doxygen=yes to build documentation, so users explicitly picks what they needs.
[...]
Quoted 3 lines
I'd really prefer to retain the existing default that has been in place for many years.
Agreed that was a sensible default for many years.
The man pages had obscure names and were prone to clash with other man pages, e.g. man tcp got you the libnfq page instead of tcp(7) and IIRC there was even a clash between libnfq and libmnl.
At libnfq 1.0.5 there were no such clashes, and man {any nfq function} got you the documentation for that function. However, having man pages on by default broke make distcheck, so it was still sensible to have them off.
Now make distcheck passes with man pages on by default.
So I strongly suggest it is no longer sensible to have man page creation off by default.
For the embedded guys, let's definitely keep --with-doxygen[=yes]. They can always say no. Or not have it installed in the first place. More of that in an email to come,
Cheers ... Duncan.
Quoted 5 lines · Pablo Neira Ayuso
Quoted 4 lines · Duncan Roe
On Wed, Jun 23, 2021 at 07:26:21PM +0200, Pablo Neira Ayuso wrote:
[...]
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Applied, thanks.
One thing that needs a fix (both
libnetfilter_queueand libmnl).If doxygen is not installed...
configure: WARNING: Doxygen not found - continuing without Doxygen support
Can I suggest we change this to:
Quoted 1 line
configure: WARNING: Doxygen not found - assuming --with-doxygen = no
and set the appropriate variable (not sure how easy that is: I didn't do this stuff originally)
How about
Quoted 3 lines
libmnl configuration:
html docs: no man pages: no
if doxygen is disabled for any reason, otherwise
Quoted 3 lines
libmnl configuration:
html docs: yes if --enable-html else no man pages: yes
i.e. never mentioning doxygen?
Cheers ... Duncan.