icinga2/docs/Makefile.am

34 lines
689 B
Makefile
Raw Normal View History

2013-02-05 16:35:22 +01:00
.PHONY: clean
EXTRA_DIST = \
2013-05-06 12:07:46 +02:00
icinga2-config-syntax.adoc \
icinga2-config-types.adoc \
icinga2-intro.adoc \
icinga2-tutorial.adoc \
icinga2.8
icinga2docdir = ${docdir}
icinga2doc_DATA =
man8_MANS = \
icinga2.8
2013-05-06 12:07:46 +02:00
.SUFFIXES = .html .adoc
2013-02-05 20:01:52 +01:00
if AD_COND_doc
icinga2doc_DATA += \
icinga2-config-syntax.html \
icinga2-config-types.html \
icinga2-intro.html \
icinga2-tutorial.html
2013-05-06 12:07:46 +02:00
.adoc.html:
2013-04-23 12:35:06 +02:00
$(AD_ENV) $(AD_ASCIIDOC) -a toc -a numbered -o $@ $<
endif AD_COND_doc
2013-02-05 16:35:22 +01:00
2013-04-19 13:23:25 +02:00
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:
2013-02-05 16:35:22 +01:00
rm -f $(icinga2doc_DATA)