8d95eee18aa9feaa24ea7bfd822c215cc551a9a8
[platform/upstream/python-gobject.git] / gi / overrides / Makefile.am
1 pygioverridesdir = $(pyexecdir)/gi/overrides
2
3 pygioverrides_PYTHON = \
4         GLib.py \
5         Gtk.py \
6         Gdk.py \
7         Gio.py \
8         GIMarshallingTests.py \
9         Pango.py \
10         keysyms.py \
11         __init__.py
12
13 # if we build in a separate tree, we need to symlink the *.py files from the
14 # source tree; Python does not accept the extensions and modules in different
15 # paths
16 build_pylinks:
17         for f in $(pygioverrides_PYTHON); do \
18             [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
19         done
20
21 all-local: build_pylinks
22 check-local: build_pylinks