diff options
author | Rob Savoye | 2010-11-18 18:38:38 -0700 |
---|---|---|
committer | Rob Savoye | 2010-11-18 18:38:38 -0700 |
commit | 2aeea40e9833609f0dec8da673dedcefc12a4ef9 (patch) | |
tree | 4e6cd4cec168f3c4caa295457634fa7acd71c682 /Makefile.swig | |
parent | f60c4420e1fdef24687ffed6baf4fd7fa5ca5cf8 (diff) | |
download | gnuradio-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.swig | 2 |
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. |