summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/bindings/qmf/Makefile.am')
-rw-r--r--cpp/bindings/qmf/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp/bindings/qmf/Makefile.am b/cpp/bindings/qmf/Makefile.am
index 9637c319f0..eebb4b94de 100644
--- a/cpp/bindings/qmf/Makefile.am
+++ b/cpp/bindings/qmf/Makefile.am
@@ -18,10 +18,16 @@
#
if HAVE_SWIG
-if HAVE_RUBY_DEVEL
EXTRA_DIST = qmfengine.i
-SUBDIRS = ruby python tests
+SUBDIRS = tests
+if HAVE_RUBY_DEVEL
+SUBDIRS += ruby
endif
+
+if HAVE_PYTHON_DEVEL
+SUBDIRS += python
+endif
+
endif