summaryrefslogtreecommitdiff
path: root/Makefile.swig
diff options
context:
space:
mode:
authorRob Savoye2010-11-18 18:38:38 -0700
committerRob Savoye2010-11-18 18:38:38 -0700
commit2aeea40e9833609f0dec8da673dedcefc12a4ef9 (patch)
tree4e6cd4cec168f3c4caa295457634fa7acd71c682 /Makefile.swig
parentf60c4420e1fdef24687ffed6baf4fd7fa5ca5cf8 (diff)
downloadgnuradio-2aeea40e9833609f0dec8da673dedcefc12a4ef9.tar.gz
gnuradio-2aeea40e9833609f0dec8da673dedcefc12a4ef9.tar.bz2
gnuradio-2aeea40e9833609f0dec8da673dedcefc12a4ef9.zip
don't generate python files unless python is enabled
Diffstat (limited to 'Makefile.swig')
-rw-r--r--Makefile.swig2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.swig b/Makefile.swig
index 810157b55..03b7c92a3 100644
--- a/Makefile.swig
+++ b/Makefile.swig
@@ -133,9 +133,11 @@ swig_built_sources =
include $(srcdir)/Makefile.swig.gen
+if PYTHON
# Create a list of .py files based on the top level .i files.
PYTHON_GEN = $(foreach HFILE,$(TOP_SWIG_IFILES), $(subst .i,.py,$(HFILE)))
swig_built_sources += $(PYTHON_GEN)
+endif
if GUILE
# Create a list of .scm files based on the top level .i files.