summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamara <tamara@jozsi.(none)>2009-08-24 12:04:15 +0200
committertamara <tamara@jozsi.(none)>2009-08-24 12:04:15 +0200
commitaacdb7a454686bfac93164d0e67e785658d48a3c (patch)
treed273abf0d7b1e585630ba06f106684da788aca90
parent77bc3790fa9e781ad26ec881175d22d807e16acf (diff)
python build fix
-rw-r--r--Makefile.am9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c84eda2..ac934d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,9 @@
include_HEADERS = include/zmq.h include/zmq.hpp
-SUBDIRS = src examples python
-DIST_SUBDIRS = src examples python
+
+if BUILD_PYTHON
+DIR_P = python
+endif
+
+SUBDIRS = src examples $(DIR_P)
+DIST_SUBDIRS = src examples $(DIR_P)