Fix dependency problem for "make dist".

Fixes #4200
This commit is contained in:
Gunnar Beutner 2013-06-06 10:16:28 +02:00
parent 99220a00c8
commit d950c4e88e
1 changed files with 5 additions and 0 deletions

View File

@ -29,5 +29,10 @@ endif AD_COND_doc
icinga2.8: $(top_builddir)/icinga-app/icinga2 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 -$(HELP2MAN) --name='The Icinga 2 networking monitoring daemon.' --section=8 --no-info --output=$@ $(top_builddir)/icinga-app/icinga2
# 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)
distclean: distclean:
rm -f $(icinga2doc_DATA) rm -f $(icinga2doc_DATA)