summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Likins <alikins@redhat.com>2016-07-29 16:02:02 -0400
committerGitHub <noreply@github.com>2016-07-29 16:02:02 -0400
commit20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033 (patch)
treec074f089b4844ec112c46ed53035c3c82a03a196
parent6fdd8c4a989d3deb9e0bb07d77b4c74d43bcc879 (diff)
downloadansible-20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033.tar.gz
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.
-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