[PATCH 34/50] [examples] Put C examples in .../examples/c


Michael Schonberg <mschonberg@...>
 

From: Mike Schonberg <mschonberg@nyx.com>

For consistency with the source tree and to keep the examples
for different languages separate.

Signed-off-by: Mike Schonberg <mschonberg@nyx.com>
---
mama/c_cpp/src/examples/c/Makefile.am | 2 +-
mama/c_cpp/src/examples/c/Makefile.sample | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mama/c_cpp/src/examples/c/Makefile.am b/mama/c_cpp/src/examples/c/Makefile.am
index 9a71db8..ff9eb1c 100644
--- a/mama/c_cpp/src/examples/c/Makefile.am
+++ b/mama/c_cpp/src/examples/c/Makefile.am
@@ -62,7 +62,7 @@ dist_mamamultisubscriberc_SOURCES = mamamultisubscriberc.c
dist_mamaftmemberc_SOURCES = mamaftmemberc.c

# Additional installation directory for sample source code
-exampledir = ${prefix}/examples/mama
+exampledir = ${prefix}/examples/mama/c

# Rule to install the example programs:
example_DATA = \
diff --git a/mama/c_cpp/src/examples/c/Makefile.sample b/mama/c_cpp/src/examples/c/Makefile.sample
index 718195e..513fcb0 100644
--- a/mama/c_cpp/src/examples/c/Makefile.sample
+++ b/mama/c_cpp/src/examples/c/Makefile.sample
@@ -13,7 +13,7 @@
# SOLARIS/Forte: The makefile will need modified to use the Solaris compiler.
# See example below.
#=============================================================================
-API_HOME=../../
+API_HOME=../../../

## Solaris/Forte compiler:
#CXX = CC
--
1.7.7.6