summaryrefslogtreecommitdiffstats
path: root/girepository
diff options
context:
space:
mode:
authorSimon van der Linden <svdlinden@src.gnome.org>2009-11-07 13:23:53 +0100
committerSimon van der Linden <svdlinden@src.gnome.org>2009-11-07 16:53:16 +0100
commitbfd3100a580b8bea9db25b8bb7443fb8c3dbe1cc (patch)
tree4323bdeffc424e3f901d0b97d79bc7bea138fb51 /girepository
parent421c03b1c5b69f90c778663df901b45ca3ee8ba5 (diff)
Fix girpository build setup
Diffstat (limited to 'girepository')
-rw-r--r--girepository/Makefile.am13
1 files changed, 6 insertions, 7 deletions
diff --git a/girepository/Makefile.am b/girepository/Makefile.am
index c414652..8bdb462 100644
--- a/girepository/Makefile.am
+++ b/girepository/Makefile.am
@@ -1,17 +1,16 @@
AUTOMAKE_OPTIONS = 1.7
PLATFORM_VERSION = 2.0
+pkgpyexecdir = $(pyexecdir)/gtk-2.0/girepository
+
+if BUILD_GIREPOSITORY
+
INCLUDES = \
-I$(top_srcdir)/gobject \
$(PYTHON_INCLUDES) \
$(PYGOBJECT_CFLAGS) \
$(GOBJECT_INTROSPECTION_CFLAGS)
-pkginclude_HEADERS = bank.h
-
-# girepository extension modules
-pkgpyexecdir = $(pyexecdir)/gtk-2.0/girepository
-
# girepository python scripts
pygirepositorydir = $(pkgpyexecdir)
pygirepository_PYTHON = \
@@ -44,7 +43,6 @@ repo_la_SOURCES = \
bank.c \
bank.h
-if BUILD_GOBJECT_INTROSPECTION
pygirepository_LTLIBRARIES = repo.la
all: $(pygirepository_LTLIBRARIES:.la=.so)
@@ -52,4 +50,5 @@ clean-local:
rm -f $(pygirepository_LTLIBRARIES:.la=.so)
.la.so:
$(LN_S) .libs/$@ $@ || true
-endif
+
+endif # BUILD_GIREPOSITORY