Currently, the man-page pages are generated by `make dist`, but removed by `make clean`. By constrast, the flex and bison C sources, which are also generated by `make dist`, are removed by `make maintainer-clean`. The latter are handled automatically by automake, and in fact a change was committed to src/Makfile.am to remove them from `CLEANFILES` for this reason: http://git.netfilter.org/nftables/commit/src/Makefile.am?id=3eaba1125798c7b8f2e8ad3d1a572de6b84f4e5a However, automake doesn't automatically generate man-pages in `make dist`: we have to tell it to do so; and thus we also have to tell it when to clean them. This patch-set changes the clean target for the man-pages to follow the pattern automake uses for bison and flex. Jeremy Sowden (2): doc: move man-pages to `dist_man_MANS` doc: move man-pages to `MAINTAINERCLEANFILES` doc/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.40.1