Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2009-06-16 16:45:33 (GMT)
committer Christian Persch <chpe@gnome.org>2009-06-16 16:56:53 (GMT)
commite4e11c845174f618cae495b1b99e53b2a4ab11fb (patch)
tree7c874cf2a2536a2511f89c9d07c7f40674bdcbb2 /libview
parent2e740390da17b9f130c768227f3007eecf431998 (diff)
[build] Fix out-of-srcdir build of introspection
Diffstat (limited to 'libview')
-rw-r--r--libview/Makefile.am14
1 files changed, 6 insertions, 8 deletions
diff --git a/libview/Makefile.am b/libview/Makefile.am
index bb563a4..659bef9 100644
--- a/libview/Makefile.am
+++ b/libview/Makefile.am
@@ -105,27 +105,25 @@ if ENABLE_INTROSPECTION
EvinceView-$(EV_API_VERSION).gir: libevview.la Makefile $(INST_H_FILES)
PKG_CONFIG_PATH=$(top_builddir):$$PKG_CONFIG_PATH \
$(G_IR_SCANNER) -v --namespace EvinceView \
- --add-include-path=$(srcdir) \
- --add-include-path=. \
- --add-include-path=$(top_srcdir) \
- --add-include-path=$(top_builddir) \
--add-include-path=$(top_builddir)/libdocument \
--strip-prefix=Ev \
--nsversion=$(EV_API_VERSION) \
+ --include=GLib-2.0 \
+ --include=GObject-2.0 \
--include=Gio-2.0 \
+ --include=Gdk-2.0 \
+ --include=GdkPixbuf-2.0 \
--include=Gtk-2.0 \
--include=EvDocument-$(EV_API_VERSION) \
--library=evview \
--libtool="$(LIBTOOL)" \
--output $@ \
- --pkg gobject-2.0 \
- --pkg gio-2.0 \
- --pkg gtk+-2.0 \
+ --pkg evince-document-$(EV_API_VERSION) \
--pkg evince-view-$(EV_API_VERSION) \
-I$(top_srcdir) \
-I$(top_builddir) \
-DEVINCE_COMPILATION \
- $(INST_H_FILES)
+ $(filter %.h,$^)
girdir = $(GIRDIR)
gir_DATA = EvinceView-$(EV_API_VERSION).gir