diff options
author | Eric Blossom <eb@comsec.com> | 2010-03-04 07:02:42 -0800 |
---|---|---|
committer | Eric Blossom <eb@comsec.com> | 2010-03-04 07:02:42 -0800 |
commit | 6c3b6396bc420228215072b2fc1b83c82eaeb291 (patch) | |
tree | 1236889fec1ca3b5f65e8b5992a8f67f490a5eb4 /gr-howto-write-a-block/swig/Makefile.swig.gen | |
parent | b811e8749dcd7c96f1af2d98caba403e50c1602b (diff) |
Refactor gr-howto-write-a-block such that it no longer installs into
the gnuradio python namespace, but rather in the howto namespace.
This allows it to be installed under a separate --prefix in the common
case where the user doing the "out of tree build" is going to be
installing their new and/or modified code somewhere other than the
system installation directories.
Any code that uses these blocks should now import them using:
import howto
instead of
from gnuradio import howto
Diffstat (limited to 'gr-howto-write-a-block/swig/Makefile.swig.gen')
-rw-r--r-- | gr-howto-write-a-block/swig/Makefile.swig.gen | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gr-howto-write-a-block/swig/Makefile.swig.gen b/gr-howto-write-a-block/swig/Makefile.swig.gen index c62e5aa3e0..1809032d33 100644 --- a/gr-howto-write-a-block/swig/Makefile.swig.gen +++ b/gr-howto-write-a-block/swig/Makefile.swig.gen @@ -33,10 +33,8 @@ ## this has to be done in the including Makefile.am -before- ## Makefile.swig is included. -howto_pythondir_category ?= gnuradio/howto -howto_pylibdir_category ?= $(howto_pythondir_category) -howto_pythondir = $(pythondir)/$(howto_pythondir_category) -howto_pylibdir = $(pyexecdir)/$(howto_pylibdir_category) +howto_pythondir = $(pythondir)/howto +howto_pylibdir = $(pyexecdir)/howto ## SWIG headers are always installed into the same directory. @@ -79,7 +77,7 @@ swig_built_sources += howto_swig.py howto_swig.cc ## Makefile.swig . howto_swiginclude_HEADERS = \ - howto.i \ + howto.i \ $(howto_swiginclude_headers) howto_pylib_LTLIBRARIES = \ @@ -89,7 +87,7 @@ _howto_swig_la_SOURCES = \ howto_swig.cc \ $(howto_la_swig_sources) -_howto_swig_la_LIBADD = \ +_howto_swig_la_LIBADD = \ $(STD_SWIG_LA_LIB_ADD) \ $(howto_la_swig_libadd) |