On Tue, Apr 07, 2020 at 12:05:08PM -0700, Matt Turner wrote: > Most projects ship pre-generated man pages in the distribution tarball > so that builders don't need the documentation tools installed, similar > to how bison-generated sources are included. > > To do this, we conditionalize the presence check of a2x on whether nft.8 > already exists in the source directory, as it would exist if included in > the distribution tarball. > > Secondly, we move the 'if BUILD_MAN' conditional to around the man page > generation rules. This ensures that the man pages are unconditionally > installed. Also only add the man pages to CLEANFILES if their generation > is enabled. Applied, thanks.