summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2011-11-27 14:56:19 -0500
committerTom Rondeau2011-11-27 14:56:19 -0500
commit0a21e2584c226496af2aa3b361bed3d6bd91ba41 (patch)
tree444074fc00018a88f1e9c5938f3c0b63c1e0d8c2
parent7b57dae20bb182561fcda78e5eeec44e44f0a9fb (diff)
downloadgnuradio-0a21e2584c226496af2aa3b361bed3d6bd91ba41.tar.gz
gnuradio-0a21e2584c226496af2aa3b361bed3d6bd91ba41.tar.bz2
gnuradio-0a21e2584c226496af2aa3b361bed3d6bd91ba41.zip
docs: autotools Makefile.am generates empty swig_docs .i files; builds in autotools and cmake.
The autotools build does not auto-generate the Python documentation for each block like we do with the cmake build, but the empty .i files are required to build things regardless. The swig_doc.py and doxyxml files are distributed with the autotools build in case someone wants to generate this on their own (see README.doxyxml for how to do this). Only for gnuradio-core and gr-digital currently.
-rw-r--r--docs/doxygen/Makefile.am4
-rw-r--r--gnuradio-core/src/lib/swig/Makefile.am14
-rw-r--r--gr-digital/swig/Makefile.am9
3 files changed, 25 insertions, 2 deletions
diff --git a/docs/doxygen/Makefile.am b/docs/doxygen/Makefile.am
index d6f6c24ae..de76126c4 100644
--- a/docs/doxygen/Makefile.am
+++ b/docs/doxygen/Makefile.am
@@ -21,14 +21,14 @@
include $(top_srcdir)/Makefile.common
-SUBDIRS = other xml-swig doxyxml
+SUBDIRS = other xml-swig
dist_gr_doc_DATA = \
$(top_srcdir)/README \
$(top_srcdir)/README.hacking \
README.doxyxml
-EXTRA_DIST = swig_doc.py
+EXTRA_DIST = doxyxml swig_doc.py
all-local: prep @generate_docs@
doc: docs # alias
diff --git a/gnuradio-core/src/lib/swig/Makefile.am b/gnuradio-core/src/lib/swig/Makefile.am
index d304a2123..162285017 100644
--- a/gnuradio-core/src/lib/swig/Makefile.am
+++ b/gnuradio-core/src/lib/swig/Makefile.am
@@ -40,6 +40,20 @@ TOP_SWIG_IFILES = \
gnuradio_core_io.i \
gnuradio_core_hier.i
+TOP_SWIG_DOC_IFILES = \
+ filter_swig_doc.i \
+ general_swig_doc.i \
+ gengen_swig_doc.i \
+ hier_swig_doc.i \
+ io_swig_doc.i \
+ runtime_swig_doc.i
+
+
+BUILT_SOURCES = \
+ $(TOP_SWIG_DOC_IFILES)
+
+$(BUILT_SOURCES):
+ `echo "" > $@`
# SWIG headers get installed in ${prefix}/include/gnuradio/swig
swiginclude_HEADERS = \
diff --git a/gr-digital/swig/Makefile.am b/gr-digital/swig/Makefile.am
index 1afa44743..e7967b09b 100644
--- a/gr-digital/swig/Makefile.am
+++ b/gr-digital/swig/Makefile.am
@@ -31,6 +31,15 @@ AM_CPPFLAGS = \
$(PYTHON_CPPFLAGS) \
$(WITH_INCLUDES)
+TOP_SWIG_DOC_IFILES = \
+ digital_swig_doc.i
+
+BUILT_SOURCES = \
+ $(TOP_SWIG_DOC_IFILES)
+
+$(BUILT_SOURCES):
+ `echo "" > $@`
+
if GUILE
nobase_guile_DATA = \
gnuradio/digital.scm