]> granicus.if.org Git - icinga2/commitdiff
Fix dependency problem for "make dist".
authorGunnar Beutner <gunnar.beutner@netways.de>
Thu, 6 Jun 2013 08:16:28 +0000 (10:16 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Thu, 6 Jun 2013 08:16:28 +0000 (10:16 +0200)
Fixes #4200

docs/Makefile.am

index a67371e4381c2ff08c77c14b432c70d02dcf6024..2283050526f18393aee3271b24ebcad43537b30c 100644 (file)
@@ -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)