[icinga-checkins] icinga.org: icinga2/master: asciidoc: only enable automake magic if feature enabled

git at icinga.org git at icinga.org
Thu Feb 7 18:30:19 CET 2013


Module: icinga2
Branch: master
Commit: 0932f00edb834074178a2bc81443d6be521d6cb1
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=0932f00edb834074178a2bc81443d6be521d6cb1

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu Feb  7 18:31:05 2013 +0100

asciidoc: only enable automake magic if feature enabled

refs #3230

---

 docs/Makefile.am |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/docs/Makefile.am b/docs/Makefile.am
index 01e30ec..0de2cfb 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





More information about the icinga-checkins mailing list