Skip to content

Commit

Permalink
build: Make make distcheck with asciidoctor
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
  • Loading branch information
jfriesse committed May 15, 2020
1 parent e0fc92d commit 9210336
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Makefile.am
Expand Up @@ -39,15 +39,15 @@ man8_MANS = $(generated_mans)
endif

if IS_ASCIIDOC
HTML_GENERATOR += $(ASCIIDOC) --unsafe --backend=xhtml11
HTML_GENERATOR += $(ASCIIDOC) --unsafe --backend=xhtml11 --destination-dir=$(abs_builddir)/
else
HTML_GENERATOR += $(ASCIIDOCTOR) -b xhtml5
HTML_GENERATOR += $(ASCIIDOCTOR) -b xhtml5 --destination-dir=$(abs_builddir)/
endif

if IS_A2X
MANPAGE_GENERATOR += $(A2X) -f manpage --destination-dir=$(abs_builddir)/
else
MANPAGE_GENERATOR += $(ASCIIDOCTOR) -b manpage
MANPAGE_GENERATOR += $(ASCIIDOCTOR) -b manpage --destination-dir=$(abs_builddir)/
endif

%.html: %.txt
Expand Down

0 comments on commit 9210336

Please sign in to comment.