[Nautilus-list] PATCH: builddir != srcdir compile fix



Hey nautilus lovers,

Small one-line patch for Nautilus to fix building when objdir !=
srcdir, the case for my build environment with it's many scripts.

The problem is that nautilus-metafile-server.h is generated from the
nautilus-metafile-server.idl, so it will end up in
$builddir/libnautilus-extensions, not in $src/libnautilus-extensions,
and nautilus-metafile-factory.h includes it as if it were in the same
directory as itself, $src/libnautilus-extensions.

The patch is against HEAD, tell me if it's OK to commit.

Thanks,
Jason.

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/nautilus/ChangeLog,v
retrieving revision 1.4227
diff -u -r1.4227 ChangeLog
--- ChangeLog	2001/03/12 21:07:48	1.4227
+++ ChangeLog	2001/03/12 22:55:56
@@ -1,3 +1,8 @@
+2001-03-12  Jason Leach  <jasonleach usa net>
+
+	* libnautilus-extensions/nautilus-metafile-factory.h: builddir !=
+	srcdir fix.
+
 2001-03-12  Robin * Slomkowski  <rslomkow eazel com>
 
 	* components/help/topleveldocs.xml: updated with 
Index: libnautilus-extensions/nautilus-metafile-factory.h
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-extensions/nautilus-metafile-factory.h,v
retrieving revision 1.4
diff -u -r1.4 nautilus-metafile-factory.h
--- libnautilus-extensions/nautilus-metafile-factory.h	2001/03/06 19:00:36	1.4
+++ libnautilus-extensions/nautilus-metafile-factory.h	2001/03/12 22:55:56
@@ -23,7 +23,7 @@
 #ifndef NAUTILUS_METAFILE_FACTORY_H
 #define NAUTILUS_METAFILE_FACTORY_H
 
-#include "nautilus-metafile-server.h"
+#include <libnautilus-extensions/nautilus-metafile-server.h>
 
 #include <bonobo/bonobo-object.h>
 #include <bonobo/bonobo-xobject.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]