asciidoc: only enable automake magic if feature enabled

refs #3230
This commit is contained in:
Michael Friedrich 2013-02-07 18:31:05 +01:00
parent 73f84c6095
commit 0932f00edb
1 changed files with 3 additions and 1 deletions

View File

@ -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