diff mbox series

[nft,v2,6/7] doc: fix make distcheck

Message ID 20180619214656.25636-7-eric@regit.org
State Accepted
Delegated to: Pablo Neira
Headers show
Series python install and build fixes | expand

Commit Message

Eric Leblond June 19, 2018, 9:46 p.m. UTC
---
 doc/Makefile.am | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

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