patch to allow building evolution outside source tree [#556059]

View: New views
1 Messages — Rating Filter:   Alert me  

patch to allow building evolution outside source tree [#556059]

by Matt Davey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(See bug #556059)

See attached patch.

I have a Makefile that leaves the Evo source tree intact and generates the Evo
Makefiles and all build objects in a obj/ tree.  There's a slight change
required to the calendar/conduit/common files to support this.

Matt


Index: calendar/conduits/common/libecalendar-common-conduit.c
===================================================================
--- calendar/conduits/common/libecalendar-common-conduit.c (revision 36574)
+++ calendar/conduits/common/libecalendar-common-conduit.c (working copy)
@@ -26,7 +26,7 @@
 #include <string.h>
 
 #include <libedataserver/e-categories.h>
-#include <e-util/e-pilot-util.h>
+#include <e-pilot-util.h>
 #include <pi-appinfo.h>
 #include <glib.h>
 
Index: calendar/conduits/common/Makefile.am
===================================================================
--- calendar/conduits/common/Makefile.am (revision 36574)
+++ calendar/conduits/common/Makefile.am (working copy)
@@ -1,4 +1,5 @@
 INCLUDES = \
+ -I$(top_srcdir) \
  -I$(top_srcdir)/e-util \
  -I$(top_builddir)/e-util \
  $(EVOLUTION_CALENDAR_CONDUIT_CFLAGS)

_______________________________________________
Evolution-patches mailing list
Evolution-patches@...
http://mail.gnome.org/mailman/listinfo/evolution-patches