Curious as to why my patch was not accepted.  The vpath build errors
are quite real and my patch fixes them.  Reattached.  Please provide
some feedback if the fix is unacceptable.

Phil

  CXX    libzmq_la-stream_engine.lo
  CXX    libzmq_la-sub.lo
  CXX    libzmq_la-tcp_address.lo
  CXX    libzmq_la-tcp_connecter.lo
  CXX    libzmq_la-tcp_listener.lo
  CXX    libzmq_la-thread.lo
  CXX    libzmq_la-trie.lo
  CXX    libzmq_la-xpub.lo
  CXX    libzmq_la-xrep.lo
  CXX    libzmq_la-xreq.lo
  CXX    libzmq_la-xsub.lo
  CXX    libzmq_la-zmq.lo
  CXX    libzmq_la-zmq_utils.lo
  CXXLD  libzmq.la
make[2]: Leaving directory `/home/phil/projects/x/work/src'
make[1]: Leaving directory `/home/phil/projects/x/work/src'
Making all in doc
make[1]: Entering directory `/home/phil/projects/x/work/doc'
asciidoc -d manpage -b docbook -f asciidoc.conf \
        -azmq_version=3.1.0 ../../doc/zmq_bind.txt
asciidoc: FAILED: configuration file asciidoc.conf missing
make[1]: *** [zmq_bind.xml] Error 1
make[1]: Leaving directory `/home/phil/projects/x/work/doc'
make: *** [all-recursive] Error 1

From 052ca926dd811e337fbddda0692f7763c3817ec4 Mon Sep 17 00:00:00 2001
From: Philip Kovacs <http://philkovacs.com/>
Date: Tue, 15 Nov 2011 15:12:08 -0500
Subject: [PATCH] Fix broken VPATH/parallel builds Signed-off-by: Philip
 Kovacs <http://philkovacs.com/>

---
 doc/Makefile.am   |    8 ++++----
 perf/Makefile.am  |    3 ++-
 tests/Makefile.am |    4 +++-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/doc/Makefile.am b/doc/Makefile.am
index ff00c18..103652f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -29,11 +29,11 @@ if BUILD_DOC
 SUFFIXES=.html .txt .xml .3 .7
 
 .txt.html:
-       asciidoc -d manpage -b xhtml11 -f asciidoc.conf \
-               -azmq_version=@PACKAGE_VERSION@ $<
+       asciidoc -d manpage -b xhtml11 -f $(srcdir)/asciidoc.conf \
+               -azmq_version=@PACKAGE_VERSION@ -o$@ $<
 .txt.xml:
-       asciidoc -d manpage -b docbook -f asciidoc.conf \
-               -azmq_version=@PACKAGE_VERSION@ $<
+       asciidoc -d manpage -b docbook -f $(srcdir)/asciidoc.conf \
+               -azmq_version=@PACKAGE_VERSION@ -o$@ $<
 .xml.1:
        xmlto man $<
 .xml.3:
diff --git a/perf/Makefile.am b/perf/Makefile.am
index 0f5e78e..4053ba5 100644
--- a/perf/Makefile.am
+++ b/perf/Makefile.am
@@ -1,4 +1,5 @@
-INCLUDES = -I$(top_builddir)/include
+INCLUDES = -I$(top_builddir)/include \
+           -I$(top_srcdir)/include
 
 noinst_PROGRAMS = local_lat remote_lat local_thr remote_thr inproc_lat 
inproc_thr
 
diff --git a/tests/Makefile.am b/tests/Makefile.am
index bbae270..fb0c6f8 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,6 @@
-INCLUDES = -I$(top_builddir)/include
+INCLUDES = -I$(top_builddir)/include \
+           -I$(top_srcdir)/include
+
 LDADD = $(top_builddir)/src/libzmq.la
 
 noinst_PROGRAMS = test_pair_inproc \
-- 
1.7.8.rc1

Attachment: signature.asc
Description: Digital signature

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to