Skip to content

Instantly share code, notes, and snippets.

@rffontenelle
Created April 29, 2016 18:27
Show Gist options
  • Save rffontenelle/57b2e6d785ab01277d6453d4cd2cd60f to your computer and use it in GitHub Desktop.
Save rffontenelle/57b2e6d785ab01277d6453d4cd2cd60f to your computer and use it in GitHub Desktop.
From 99b226d8d76706caad36241613a9f102381a74bd Mon Sep 17 00:00:00 2001
From: Stefan Sauer <[email protected]>
Date: Wed, 27 Apr 2016 20:51:45 +0200
Subject: [PATCH] build: fix parallel make
We missed some dependencies for the doc targets.
Fixes #67.
---
Makefile.am | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 6891df2..fea1657 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,7 +51,7 @@ EXTRA_DIST = \
# BUILT_SOURCES is for generated source
BUILT_SOURCES = builddirs
-
+
# CLEANFILES is for files generated by make
CLEANFILES = $(appdata_DATA)
@@ -106,7 +106,13 @@ docs-bt-cmd: libbtcmd.la libbuzztrax-ic.la libbuzztrax-core.la docs/reference/ve
docs-bt-edit: libbtedit.la libbuzztrax-ic.la libbuzztrax-core.la docs/reference/version.entities
@$(MAKE) -C docs/reference/bt-edit
-docs-bt-gst: libbuzztrax-gst.la
+if FLUIDSYNTH_SUPPORT
+FLUIDSYNTH_LA = libgstfluidsynth.la
+else
+FLUIDSYNTH_LA =
+endif
+
+docs-bt-gst: libbuzztrax-gst.la libbuzztraxaudio.la libbuzztraxdec.la libgstbml.la libgstsidsyn.la $(FLUIDSYNTH_LA)
@$(MAKE) -C docs/reference/bt-gst
all-local: docs
@@ -121,7 +127,7 @@ clean-local: test-clean-local
if test -f $$dir/Makefile; then \
$(MAKE) -C $$dir clean; \
fi; \
- done
+ done
install-data-local:
@for dir in $(FAKE_SUBDIRS); do $(MAKE) -C $$dir install-data; done
--
2.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment