aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_asciidoc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-26 09:25:01 +0100
committerLoïc Hoguin <[email protected]>2018-11-26 09:25:01 +0100
commit746026ec5e197434c7235fe3f432b451d70881b1 (patch)
tree6a3695e5c1be3d0a66293c5e3ab23a44226da75b /test/plugin_asciidoc.mk
parent0753f94b86cb0e86ead04f5fdc754e2ddd343b71 (diff)
downloaderlang.mk-746026ec5e197434c7235fe3f432b451d70881b1.tar.gz
erlang.mk-746026ec5e197434c7235fe3f432b451d70881b1.tar.bz2
erlang.mk-746026ec5e197434c7235fe3f432b451d70881b1.zip
Disable Asciidoc tests requiring DocBook if not installed
The toolchain is too heavy for CI. Gotta wait for me to finish the work on Asciideck for building HTML pages.
Diffstat (limited to 'test/plugin_asciidoc.mk')
-rw-r--r--test/plugin_asciidoc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/plugin_asciidoc.mk b/test/plugin_asciidoc.mk
index 0b0685e..c2c4318 100644
--- a/test/plugin_asciidoc.mk
+++ b/test/plugin_asciidoc.mk
@@ -6,6 +6,9 @@ ASCIIDOC_TARGETS = $(call list_targets,asciidoc)
asciidoc: $(ASCIIDOC_TARGETS)
+# Disable the Asciidoc tests requiring the DocBook toolchain
+# when Asciidoc is not installed. The toolchain is too heavy for CI.
+ifneq ($(shell which a2x),)
asciidoc-build: build clean
$i "Bootstrap a new OTP application named $(APP)"
@@ -117,6 +120,7 @@ asciidoc-guide: build clean
$t test -f $(APP)/doc/guide.pdf
$t test -d $(APP)/doc/html/
$t test ! -e $(APP)/doc/man3/
+endif
asciidoc-install: build clean