.PHONY: clean EXTRA_DIST = \ icinga2-config-syntax.adoc \ icinga2-config-types.adoc \ icinga2-intro.adoc \ icinga2-tutorial.adoc \ icinga2.8 icinga2docdir = ${docdir} icinga2doc_DATA = man8_MANS = \ icinga2.8 .SUFFIXES = .html .adoc if AD_COND_doc icinga2doc_DATA += \ icinga2-config-syntax.html \ icinga2-config-types.html \ icinga2-intro.html \ icinga2-tutorial.html .adoc.html: $(AD_ENV) $(AD_ASCIIDOC) -a toc -a numbered -o $@ $< endif AD_COND_doc icinga2.8: $(top_builddir)/icinga-app/icinga2 -$(HELP2MAN) --name='The Icinga 2 networking monitoring daemon.' --section=8 --no-info --output=$@ $(top_builddir)/icinga-app/icinga2 distclean: rm -f $(icinga2doc_DATA)