summaryrefslogtreecommitdiffstats
path: root/doc/Makefile.am
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-10-31 23:16:56 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-01 00:23:51 +0100
commitd1fc8476d9cfbcd843261741dafe8260c1443560 (patch)
treecf6f156cf4d1deab8850071a7a98a2a392b4fa43 /doc/Makefile.am
parent0d6ed0e836f624ca4f73d43f10c8ca72e9fe70d1 (diff)
doc: Fix for make distcheck
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@nwl.cc> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r--doc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 503d6cd8..01e1af90 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} $<