From cd0cafc7f75c97d44229a09e5fde11ca51a1bb6f Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Tue, 22 Jun 2021 14:19:33 +1000 Subject: 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 Signed-off-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index dec85d0..94e6935 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 -- cgit v1.2.1