summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2016-07-29 22:02:02 +0200
committerGitHub <noreply@github.com>2016-07-29 22:02:02 +0200
commit20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033 (patch)
treec074f089b4844ec112c46ed53035c3c82a03a196 /Makefile
parentFix the doctype attribute in man page asciidocs (#16696) (diff)
downloadansible-20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033.tar.xz
ansible-20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033.zip
Disable 'xmllint' checks in a2x (#16317)
It brings in a libxml2 dep to the docs build require. The a2x default of xmllint invocation attempts to make outgoing requests to download XML DTD's, despite a2x using the '--nonet' flag.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 82605dd9db..bb3d5a7d8e 100644
--- a/Makefile
+++ b/Makefile
@@ -24,8 +24,8 @@ OS = $(shell uname -s)
# directory of the target file ($@), kinda like `dirname`.
MANPAGES := docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1 docs/man/man1/ansible-galaxy.1 docs/man/man1/ansible-vault.1
ifneq ($(shell which a2x 2>/dev/null),)
-ASCII2MAN = a2x -D $(dir $@) -d manpage -f manpage $<
-ASCII2HTMLMAN = a2x -D docs/html/man/ -d manpage -f xhtml
+ASCII2MAN = a2x -L -D $(dir $@) -d manpage -f manpage $<
+ASCII2HTMLMAN = a2x -L -D docs/html/man/ -d manpage -f xhtml
else
ASCII2MAN = @echo "ERROR: AsciiDoc 'a2x' command is not installed but is required to build $(MANPAGES)" && exit 1
endif