On Thu, May 24, 2012 at 01:21:03AM +0200, Hilko Bengen wrote:
--- gobject/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gobject/Makefile.am b/gobject/Makefile.am index be6d58e..f75bcf6 100644 --- a/gobject/Makefile.am +++ b/gobject/Makefile.am @@ -58,7 +58,7 @@ libguestfs_gobject_1_0_la_LIBADD = -lguestfs # in the subdirectory. install-data-hook: rm $(DESTDIR)$(includedir)/guestfs-gobject/guestfs-gobject.h - install -m 0644 include/guestfs-gobject.h $(DESTDIR)$(includedir) + install -m 0644 $(srcdir)/include/guestfs-gobject.h $(DESTDIR)$(includedir)
-include $(INTROSPECTION_MAKEFILE) INTROSPECTION_GIRS = @@ -75,7 +75,7 @@ Guestfs-1.0.gir: $(libname) Guestfs_1_0_gir_INCLUDES = GObject-2.0 Gio-2.0 Guestfs_1_0_gir_CFLAGS = $(INCLUDES) -I$(srcdir)/include Guestfs_1_0_gir_LIBS = $(libname) -Guestfs_1_0_gir_FILES = $(introspection_sources) +Guestfs_1_0_gir_FILES = $(patsubst %,$(srcdir)/%,$(introspection_sources)) INTROSPECTION_GIRS += Guestfs-1.0.gir
girdir = $(datadir)/gir-1.0 -- 1.7.10
ACK. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#) http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora