summaryrefslogtreecommitdiff
path: root/gr-radio-astronomy
diff options
context:
space:
mode:
authorEric Blossom2010-11-24 17:29:11 -0800
committerEric Blossom2010-11-24 17:29:11 -0800
commitd692a41f98e7b888c745efbb9fcbbb0400f39025 (patch)
tree591782e695d1d29f2dfcfe6390fc21cd99a06a16 /gr-radio-astronomy
parent42fe3e571be14e70cb06ea1244125553f0606be4 (diff)
downloadgnuradio-d692a41f98e7b888c745efbb9fcbbb0400f39025.tar.gz
gnuradio-d692a41f98e7b888c745efbb9fcbbb0400f39025.tar.bz2
gnuradio-d692a41f98e7b888c745efbb9fcbbb0400f39025.zip
Major Makefile.am housecleaning. Passes distcheck.
Move all occurrences of swig_built_sources out of Makefile.am's. Move all SWIG related use of BUILT_SOURCES out of Makefile.am's. Clean up 'if PYTHON' conditionalization in gr-* Still left to do: fix Makefile.swig CLEANFILES and no_dist_files such that they remove exactly the generated files.
Diffstat (limited to 'gr-radio-astronomy')
-rw-r--r--gr-radio-astronomy/src/lib/Makefile.am13
-rw-r--r--gr-radio-astronomy/src/python/Makefile.am2
2 files changed, 3 insertions, 12 deletions
diff --git a/gr-radio-astronomy/src/lib/Makefile.am b/gr-radio-astronomy/src/lib/Makefile.am
index d2dafdeac..1b6b854ea 100644
--- a/gr-radio-astronomy/src/lib/Makefile.am
+++ b/gr-radio-astronomy/src/lib/Makefile.am
@@ -1,5 +1,5 @@
#
-# Copyright 2004,2005,2006,2008,2009 Free Software Foundation, Inc.
+# Copyright 2004,2005,2006,2008,2009,2010 Free Software Foundation, Inc.
#
# This file is part of GNU Radio
#
@@ -20,10 +20,10 @@
#
include $(top_srcdir)/Makefile.common
+include $(top_srcdir)/Makefile.swig
AM_CPPFLAGS = $(STD_DEFINES_AND_INCLUDES) $(PYTHON_CPPFLAGS) $(WITH_INCLUDES)
-if PYTHON
TOP_SWIG_IFILES = \
ra.i
@@ -33,12 +33,3 @@ TOP_SWIG_IFILES = \
# ${prefix}/lib/python${python_version}/site-packages/gnuradio
ra_pythondir_category = \
gnuradio
-
-include $(top_srcdir)/Makefile.swig
-
-# add some of the variables generated inside the Makefile.swig.gen
-BUILT_SOURCES = $(swig_built_sources)
-
-# Do not distribute the output of SWIG
-no_dist_files = $(swig_built_sources)
-endif
diff --git a/gr-radio-astronomy/src/python/Makefile.am b/gr-radio-astronomy/src/python/Makefile.am
index e342651ae..2518e0647 100644
--- a/gr-radio-astronomy/src/python/Makefile.am
+++ b/gr-radio-astronomy/src/python/Makefile.am
@@ -32,7 +32,7 @@ ourlibdir = $(grpyexecdir)
wxguipythondir = $(grpythondir)/wxgui
wxguilibdir = $(grpyexecdir)/wxgui
-EXTRA_DIST = \
+EXTRA_DIST += \
run_tests.in
TESTS = run_tests