2013-02-05 16:35:22 +01:00
|
|
|
.PHONY: clean
|
|
|
|
|
2013-02-05 16:30:34 +01:00
|
|
|
EXTRA_DIST = \
|
2013-05-06 12:07:46 +02:00
|
|
|
icinga2-config-syntax.adoc \
|
|
|
|
icinga2-config-types.adoc \
|
|
|
|
icinga2-intro.adoc \
|
|
|
|
icinga2-tutorial.adoc \
|
2013-02-06 17:49:11 +01:00
|
|
|
icinga2.8
|
2013-02-04 18:33:35 +01:00
|
|
|
|
2013-02-05 16:30:34 +01:00
|
|
|
icinga2docdir = ${docdir}
|
2013-02-07 19:57:23 +01:00
|
|
|
icinga2doc_DATA =
|
2013-02-04 18:33:35 +01:00
|
|
|
|
2013-03-14 15:15:18 +01:00
|
|
|
man8_MANS = \
|
2013-02-06 17:49:11 +01:00
|
|
|
icinga2.8
|
|
|
|
|
2013-05-06 12:07:46 +02:00
|
|
|
.SUFFIXES = .html .adoc
|
2013-02-05 20:01:52 +01:00
|
|
|
|
2013-02-07 18:31:05 +01:00
|
|
|
if AD_COND_doc
|
2013-02-07 19:57:23 +01:00
|
|
|
icinga2doc_DATA += \
|
2013-04-23 15:24:35 +02:00
|
|
|
icinga2-config-syntax.html \
|
|
|
|
icinga2-config-types.html \
|
|
|
|
icinga2-intro.html \
|
|
|
|
icinga2-tutorial.html
|
2013-02-07 19:57:23 +01:00
|
|
|
|
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 $@ $<
|
2013-02-07 18:31:05 +01:00
|
|
|
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
|
2013-02-06 17:49:11 +01:00
|
|
|
|
2013-06-06 10:16:28 +02:00
|
|
|
# The icinga2.8 file is in EXTRA_DIST which means we need to build it when "make dist" is run.
|
|
|
|
# Unfortunately in order to build this man page we need to build Icinga 2. Meh.
|
|
|
|
$(top_builddir)/icinga-app/icinga2:
|
|
|
|
$(MAKE) -C $(top_builddir)
|
|
|
|
|
2013-02-06 17:49:11 +01:00
|
|
|
distclean:
|
2013-02-05 16:35:22 +01:00
|
|
|
rm -f $(icinga2doc_DATA)
|