diff options
author | Hilko Bengen <bengen@hilluzination.de> | 2012-05-23 22:49:35 +0200 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-06-01 19:27:00 +0100 |
commit | 09bf144362e8f4f9dff1e1ea9bc0db273d7ffb61 (patch) | |
tree | e68a7a891125ff4725fa1fce31c20d413153d75a | |
parent | e10f3ea34cb29fd62f3500fa7bbc955625b71670 (diff) | |
download | libguestfs-09bf144362e8f4f9dff1e1ea9bc0db273d7ffb61.tar.gz libguestfs-09bf144362e8f4f9dff1e1ea9bc0db273d7ffb61.tar.xz libguestfs-09bf144362e8f4f9dff1e1ea9bc0db273d7ffb61.zip |
Fix out-of-tree build for GObject bindings
(cherry picked from commit 148e8068267bcf9ce8ff3a5062747998f960619d)
-rw-r--r-- | gobject/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/Makefile.am b/gobject/Makefile.am index be6d58e1..f75bcf6b 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 |