summaryrefslogtreecommitdiffstats
path: root/c++/examples/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/Makefile.in')
-rw-r--r--c++/examples/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index e027b00..db470b0 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -317,11 +317,11 @@ LIBH5CPP_HL = $(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
# Scripts used to build examples
# If only shared libraries have been installed, have h5cc build examples with
# shared libraries instead of static libraries
-H5CC = $(bindir)/h5cc
-H5CC_PP = $(bindir)/h5pcc
-H5FC = $(bindir)/h5fc
-H5FC_PP = $(bindir)/h5pfc
-H5CPP = $(bindir)/h5c++
+H5CC = ${DESTDIR}/$(bindir)/h5cc
+H5CC_PP = ${DESTDIR}/$(bindir)/h5pcc
+H5FC = ${DESTDIR}/$(bindir)/h5fc
+H5FC_PP = ${DESTDIR}/$(bindir)/h5pfc
+H5CPP = ${DESTDIR}/$(bindir)/h5c++
# The trace script; this is used on source files from the C library to
# insert tracing macros.
@@ -346,7 +346,7 @@ INSTALL_FILES = create.cpp readdata.cpp writedata.cpp compound.cpp \
CXX_API = yes
# Where to install examples
-EXAMPLEDIR = $(exec_prefix)/examples/c++
+EXAMPLEDIR = ${DESTDIR}/$(exec_prefix)/share/hdf5_examples/c++
# Assume that all tests in this directory are examples, and tell
# conclude.am when to build them.