summaryrefslogtreecommitdiff
path: root/gr-vocoder
diff options
context:
space:
mode:
authorTom Rondeau2012-04-03 11:35:35 -0400
committerTom Rondeau2012-04-03 12:26:34 -0400
commit7dc08ba2875c0dace0432cd514add6ce2b085f44 (patch)
treee6a01fd07cd6c24040886a805105e6323a969834 /gr-vocoder
parent0dd3e32b5526c085a983d7ff235bac61ec2c52ff (diff)
downloadgnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.tar.gz
gnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.tar.bz2
gnuradio-7dc08ba2875c0dace0432cd514add6ce2b085f44.zip
examples: Reworked locations and installation of examples.
All python and GRC examples directly associated with a top-level component are now in that examples directory. Examples are split into c++, python, and grc dirs but are all installed into $prefix/share/gnuradio/examples/<component>.
Diffstat (limited to 'gr-vocoder')
-rw-r--r--gr-vocoder/CMakeLists.txt2
-rw-r--r--gr-vocoder/examples/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/gr-vocoder/CMakeLists.txt b/gr-vocoder/CMakeLists.txt
index e800cff00..19f0dbec9 100644
--- a/gr-vocoder/CMakeLists.txt
+++ b/gr-vocoder/CMakeLists.txt
@@ -35,6 +35,8 @@ GR_SET_GLOBAL(GR_VOCODER_INCLUDE_DIRS
${CMAKE_CURRENT_SOURCE_DIR}/include
)
+SET(GR_PKG_VOCODER_EXAMPLES_DIR ${GR_PKG_DATA_DIR}/examples/vocoder)
+
########################################################################
# Begin conditional configuration
########################################################################
diff --git a/gr-vocoder/examples/CMakeLists.txt b/gr-vocoder/examples/CMakeLists.txt
index 76a757826..769ddf602 100644
--- a/gr-vocoder/examples/CMakeLists.txt
+++ b/gr-vocoder/examples/CMakeLists.txt
@@ -32,6 +32,6 @@ GR_PYTHON_INSTALL(
g723_40_audio_loopback.py
gsm_audio_loopback.py
ulaw_audio_loopback.py
- DESTINATION ${GR_PKG_DATA_DIR}/examples/vocoder
+ DESTINATION ${GR_PKG_VOCODER_EXAMPLES_DIR}
COMPONENT "vocoder_examples"
)