From 20ef8d5aaf2b80a723c4bdfcd11d0f384f38e033 Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Fri, 29 Jul 2016 16:02:02 -0400 Subject: [PATCH] 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. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 82605dd9db9..bb3d5a7d8e7 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