Parallel make was failing because guestfs-structs.h was required before
generator.ml ran.
---
src/Makefile.am | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 469f6d6..ae10ed8 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -34,8 +34,6 @@ stamp-generator: generator.ml
mkdir -p $(top_srcdir)/java/com/redhat/et/libguestfs
cd $(top_srcdir) && ocaml -warn-error A src/generator.ml
-guestfs_protocol.x: stamp-generator
-
include_HEADERS = guestfs.h guestfs-actions.h guestfs-structs.h
lib_LTLIBRARIES = libguestfs.la
@@ -49,6 +47,8 @@ BUILT_SOURCES = \
guestfs-actions.c \
guestfs-bindtests.c
+$(BUILT_SOURCES): stamp-generator
+
# This convenience library is solely to avoid compiler warnings
# in its generated sources.
libprotocol_la_SOURCES = \
--
1.6.5.2