summaryrefslogtreecommitdiff
path: root/gi/repository/Makefile.am
blob: 1177ad546a7c5cc124277347da096a27d22bb1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pygirepositorydir = $(pyexecdir)/gi/repository

pygirepository_PYTHON = \
	__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 $(pygirepository_PYTHON); do \
	    [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
	done

all-local: build_pylinks
check-local: build_pylinks