summaryrefslogtreecommitdiff
path: root/pygtkcompat/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'pygtkcompat/Makefile.am')
-rw-r--r--pygtkcompat/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/pygtkcompat/Makefile.am b/pygtkcompat/Makefile.am
new file mode 100644
index 0000000..6a73cb4
--- /dev/null
+++ b/pygtkcompat/Makefile.am
@@ -0,0 +1,15 @@
+pygtkcompatdir = $(pyexecdir)/pygtkcompat
+
+pygtkcompat_PYTHON = \
+ __init__.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