summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy/src
diff options
context:
space:
mode:
Diffstat (limited to 'gr-radio-astronomy/src')
-rw-r--r--gr-radio-astronomy/src/Makefile.am5
-rw-r--r--gr-radio-astronomy/src/lib/Makefile.am2
2 files changed, 6 insertions, 1 deletions
diff --git a/gr-radio-astronomy/src/Makefile.am b/gr-radio-astronomy/src/Makefile.am
index e3f0399eb..be38b7c1a 100644
--- a/gr-radio-astronomy/src/Makefile.am
+++ b/gr-radio-astronomy/src/Makefile.am
@@ -19,4 +19,7 @@
# Boston, MA 02110-1301, USA.
#
-SUBDIRS = lib python
+SUBDIRS = lib
+if PYTHON
+SUBDIRS += python
+endif
diff --git a/gr-radio-astronomy/src/lib/Makefile.am b/gr-radio-astronomy/src/lib/Makefile.am
index 33a8a859a..d2dafdeac 100644
--- a/gr-radio-astronomy/src/lib/Makefile.am
+++ b/gr-radio-astronomy/src/lib/Makefile.am
@@ -23,6 +23,7 @@ include $(top_srcdir)/Makefile.common
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
+if PYTHON
TOP_SWIG_IFILES = \
ra.i
@@ -40,3 +41,4 @@ BUILT_SOURCES = $(swig_built_sources)
# Do not distribute the output of SWIG
no_dist_files = $(swig_built_sources)
+endif