libvips/python/Makefile.am
2014-12-10 15:31:22 +00:00

20 lines
465 B
Makefile

pygioverridesdir = $(pyexecdir)/gi/overrides
pygioverrides_PYTHON = \
Vips.py
EXTRA_DIST = \
README.md
# 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