summaryrefslogtreecommitdiffstats
path: root/examples/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Makefile.in')
-rw-r--r--examples/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index f1cd97a..8e556e9 100644
--- a/examples/Makefile.in
+++ b/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.
@@ -356,7 +356,7 @@ INSTALL_FILES = h5_write.c h5_read.c h5_extend_write.c h5_chunk_read.c \
EXTLINK_DIRS = red blue u2w
# Example directory
-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.