From: Michael Friedrich Date: Thu, 7 Feb 2013 17:31:05 +0000 (+0100) Subject: asciidoc: only enable automake magic if feature enabled X-Git-Tag: v0.0.2~524 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0932f00edb834074178a2bc81443d6be521d6cb1;p=icinga2 asciidoc: only enable automake magic if feature enabled refs #3230 --- 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