---
 doc/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 9796d34..1ec3b3e 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -9,19 +9,19 @@ endif
 pdfdir=${docdir}/pdf
 
 .xml.pdf:
-       ${AM_V_GEN}dblatex -q -t pdf -o $@ $<
+       ${AM_V_GEN}dblatex -q -t pdf -o ${builddir}/$@ $<
 
 .xml.8:
        ${AM_V_GEN}${DB2MAN} --xinclude $<
 
 .adoc.pdf:
-       a2x --doctype manpage --format pdf $<
+       a2x --doctype manpage --format pdf -D ${builddir} $<
 
 .adoc.3:
-       a2x --doctype manpage --format manpage $<
+       a2x --doctype manpage --format manpage -D ${builddir} $<
 
 .adoc.5:
-       a2x --doctype manpage --format manpage $<
+       a2x --doctype manpage --format manpage -D ${builddir} $<
 
 EXTRA_DIST = nft.xml libnftables-json.adoc libnftables.adoc
 
-- 
2.17.1

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

Reply via email to