Since the man-pages are built and included in the distribution tar-balls, the appropriate clean target is `maintainer-clean`. Signed-off-by: Jeremy Sowden <jeremy@xxxxxxxxxx> --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 5a64e39b48cf..b43cb08d2d14 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -26,5 +26,5 @@ nft.8: ${ASCIIDOCS} .adoc.5: ${AM_V_GEN}${A2X} ${A2X_OPTS_MANPAGE} $< -CLEANFILES += ${dist_man_MANS} +MAINTAINERCLEANFILES = ${dist_man_MANS} endif -- 2.40.1