When building from a separate build directory, a2x did not find the source file nft.txt. Using '$<' instead fixes this. Fixes: 3bacae9e4a1e3 ("doc: Review man page building in Makefile.am") Signed-off-by: Phil Sutter <phil@xxxxxx> --- doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Makefile.am b/doc/Makefile.am index 503d6cd80051c..01e1af90bbf0c 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -14,7 +14,7 @@ ASCIIDOC_INCLUDES = \ ASCIIDOCS = ${ASCIIDOC_MAIN} ${ASCIIDOC_INCLUDES} nft.8: ${ASCIIDOCS} - ${AM_V_GEN}${A2X} ${A2X_OPTS_MANPAGE} nft.txt + ${AM_V_GEN}${A2X} ${A2X_OPTS_MANPAGE} $< .adoc.3: ${AM_V_GEN}${A2X} ${A2X_OPTS_MANPAGE} $< -- 2.19.0