summaryrefslogtreecommitdiff
path: root/pygtkcompat/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'pygtkcompat/Makefile.am')
-rw-r--r--pygtkcompat/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/pygtkcompat/Makefile.am b/pygtkcompat/Makefile.am
new file mode 100644
index 0000000..914b3e2
--- /dev/null
+++ b/pygtkcompat/Makefile.am
@@ -0,0 +1,16 @@
+pygtkcompatdir = $(pyexecdir)/pygtkcompat
+
+pygtkcompat_PYTHON = \
+ __init__.py \
+ generictreemodel.py \
+ pygtkcompat.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 $(pygtkcompat_PYTHON); do \
+ [ -e $(builddir)/$$f ] || $(LN_S) $(srcdir)/$$f $(builddir)/$$f; \
+ done
+
+all-local: build_pylinks