]> git.ipfire.org Git - thirdparty/nftables.git/commitdiff
nft: doc: fix make distcheck
authorArushi Singhal <arushisinghal19971997@gmail.com>
Wed, 8 Aug 2018 05:19:26 +0000 (10:49 +0530)
committerFlorian Westphal <fw@strlen.de>
Tue, 14 Aug 2018 11:01:55 +0000 (13:01 +0200)
fix make distcheck for conversion to asciidoc.

Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
doc/Makefile.am

index 291bcc87a5cbafe82c463d2bed527456e0a07839..80a376086fbcd86429ccc0e4c7fb43f3d5394272 100644 (file)
@@ -17,11 +17,11 @@ ASCIIDOCS = ${ASCIIDOC_MAIN} ${ASCIIDOC_INCLUDES}
 
 pdfdir=${docdir}/pdf
 
-nft.8: ${ASCIIDOCS}
-       ${AM_V_GEN}${A2X} --doctype manpage --format manpage ${ASCIIDOC_MAIN}
+.txt.8: ${ASCIIDOCS}
+       ${AM_V_GEN}${A2X} --doctype manpage --format manpage -D ${builddir} $<
 
-nft.pdf: ${ASCIIDOCS}
-       ${AM_V_GEN}${A2X} --doctype manpage --format pdf ${ASCIIDOC_MAIN}
+.txt.pdf: ${ASCIIDOCS}
+       ${AM_V_GEN}${A2X} --doctype manpage --format pdf -D ${builddir} $<
 
 .adoc.pdf:
        a2x --doctype manpage --format pdf -D ${builddir} $<