fix make distcheck for conversion to asciidoc.

Signed-off-by: Arushi Singhal <[email protected]>
---
 doc/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 291bcc8..4d8cd98 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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 $<
 
-nft.pdf: ${ASCIIDOCS}
-       ${AM_V_GEN}${A2X} --doctype manpage --format pdf ${ASCIIDOC_MAIN}
+.txt.pdf: ${ASCIIDOCS}
+       ${AM_V_GEN}${A2X} --doctype manpage --format pdf $<
 
 .adoc.pdf:
        a2x --doctype manpage --format pdf -D ${builddir} $<
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to