Skip to contentSkip to conversation

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

PATCH New Duncan Roe 1 participant 1 message Jul 18, 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 | 92 +++++++++++++++------------------------------
 2 files changed, 32 insertions(+), 61 deletions(-)
doxygen.cfg.in +1 -0
index 4c16e3e..266782e 100644
@@ -23,5 +23,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 -61

112 lines not on this page · raw message

Signature · 1 line
2.17.5