It's been over five years since I committed anything to PVFS, so I'll send this one to the list for review:

When I build OrangeFS trunk (revision 10705) in a separate "build" directory, the build system gets a bit confused. I don't know when this out-of-tree build stopped working, but it used to. The attached patch gets things shiny again

==rob

--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 10705)
+++ Makefile.in	(working copy)
@@ -201,7 +201,7 @@
 LD = @CC@
 BUILD_CC = @BUILD_CC@
 BUILD_LD = @BUILD_CC@
-BUILD_CFLAGS = -I$(srcdir)/src/common/misc -I$(srcdir) @BUILD_CFLAGS@
+BUILD_CFLAGS = -I$(srcdir)/src/common/misc -I$(srcdir) -I. @BUILD_CFLAGS@
 BUILD_LDFLAGS = @BUILD_LDFLAGS@
 # make sure the srcdir include gets included first
 CFLAGS = -I$(srcdir)/include @CFLAGS@ @CPPFLAGS@
@@ -1420,7 +1420,7 @@
 else
 install:: all install_doc
 	install -d $(includedir)
-	install -m 644 $(builddir)/include/orange.h $(includedir)
+	install -m 644 $(srcdir)/include/orange.h $(includedir)
 	install -m 644 $(builddir)/include/pvfs2.h $(includedir)
 	install -m 644 $(srcdir)/include/pvfs2-request.h $(includedir)
 	install -m 644 $(srcdir)/include/pvfs2-debug.h $(includedir)
_______________________________________________
Pvfs2-developers mailing list
Pvfs2-developers@beowulf-underground.org
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to