From 0932f00edb834074178a2bc81443d6be521d6cb1 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 7 Feb 2013 18:31:05 +0100 Subject: [PATCH] asciidoc: only enable automake magic if feature enabled refs #3230 --- docs/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/Makefile.am b/docs/Makefile.am index 01e30ec92..0de2cfb18 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -15,8 +15,10 @@ man1_MANS = \ .SUFFIXES = .html .txt +if AD_COND_doc .txt.html: - asciidoc -a toc -a numbered $< + $(AD_ENV) $(AD_ASCIIDOC) -a toc -a numbered $< +endif AD_COND_doc icinga2.8: $(top_srcdir)/icinga-app/icinga2 -$(HELP2MAN) --name='The Icinga 2 networking monitoring daemon.' --section=8 --no-info --output=$@ $(top_srcdir)/icinga-app/icinga2 -- 2.40.0