From d950c4e88ea5a69a5495e0d286fee3aabab08b8b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Thu, 6 Jun 2013 10:16:28 +0200 Subject: [PATCH] Fix dependency problem for "make dist". Fixes #4200 --- docs/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Makefile.am b/docs/Makefile.am index a67371e43..228305052 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -29,5 +29,10 @@ 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 +# 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: rm -f $(icinga2doc_DATA)