summaryrefslogtreecommitdiff
path: root/gi/overrides/Makefile.am
blob: 5d9ddd6fe446817b73165fd5a1b4ccd68d1eb7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
pygioverridesdir = $(pyexecdir)/gi/overrides

pygioverrides_PYTHON = \
	GLib.py \
	Gtk.py \
	Gdk.py \
	Gio.py \
	GIMarshallingTests.py \
	Pango.py \
	keysyms.py \
	__init__.py

# if we build in a separate tree, we need to symlink the *.py files from the
# source tree; Python does not accept the extensions and modules in different
# paths
build_pylinks:
	for f in $(pygioverrides_PYTHON); do \
	    [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
	done

all-local: build_pylinks
check-local: build_pylinks

-include $(top_srcdir)/git.mk