Introduce the UNINSTALLED_GLIB_SRCDIR environment variable

This makes it possible to avoid setting PYTHONPATH in
Makefile.am files.

https://bugzilla.gnome.org/show_bug.cgi?id=650763
This commit is contained in:
Dieter Verfaillie
2011-08-23 16:38:36 +01:00
committed by Colin Walters
parent 5391aae009
commit cd0cd95078
3 changed files with 13 additions and 8 deletions

View File

@@ -22,8 +22,8 @@ GDBUS_GENERATED = \
$(NULL)
$(GDBUS_GENERATED) : gdbus-example-objectmanager.xml
$(AM_V_GEN) UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
PYTHONPATH=$(top_srcdir)/gio/gdbus-2.0 \
$(AM_V_GEN) UNINSTALLED_GLIB_SRCDIR=$(top_srcdir) \
UNINSTALLED_GLIB_BUILDDIR=$(top_builddir) \
$(PYTHON) $(top_builddir)/gio/gdbus-2.0/codegen/gdbus-codegen \
--interface-prefix org.gtk.GDBus.Example.ObjectManager. \
--c-namespace Example \