Skip to contentSkip to conversation

build: doc: get rid of the need for manual updating of Makefile

PATCH Applied Duncan Roe 2 participants 2 messages Jul 18, 2021 – Aug 1, 2021 netfilter

lore
Share & tools
lore

Duncan Roe

author
#0 lore raw

PATCH 1/1 build: doc: get rid of the need for manual updating of Makefile

There used to be 3 things in doxygen/Makefile.am that developers had to update:

1. The dependency list (i.e. all C sources)

2. The setgroup lines, which renamed each module man page to be the page for the first described function. setgroup also set the target for:

3. The add2group lines, which symlinked pages for other documented functions in the group.

The new system eliminates all of the above.

---
 doxygen.cfg.in      |  1 +
 doxygen/Makefile.am | 71 ++++++++++++++++++++-------------------------
 2 files changed, 32 insertions(+), 40 deletions(-)
doxygen.cfg.in +1 -0
index 1e42e44..ae31dbe 100644
@@ -18,5 +18,6 @@ SEARCHENGINE           = NO
 GENERATE_LATEX         = NO
 LATEX_CMD_NAME         = latex
 GENERATE_MAN           = YES
+MAN_LINKS              = YES
 HAVE_DOT               = @HAVE_DOT@
 DOT_TRANSPARENT        = YES
doxygen/Makefile.am +31 -40

91 lines not on this page · raw message

Signature · 1 line
2.17.5
maintainer Applied
#1 lore raw
Quoted 11 lines · Duncan Roe

There used to be 3 things in doxygen/Makefile.am that developers had to update:

1. The dependency list (i.e. all C sources)

2. The setgroup lines, which renamed each module man page to be the page for the first described function. setgroup also set the target for:

3. The add2group lines, which symlinked pages for other documented functions in the group.

The new system eliminates all of the above.

Applied, thanks.