summaryrefslogtreecommitdiffstats
path: root/config/commence.am
diff options
context:
space:
mode:
Diffstat (limited to 'config/commence.am')
-rw-r--r--config/commence.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/commence.am b/config/commence.am
index 7085d8f..455a684 100644
--- a/config/commence.am
+++ b/config/commence.am
@@ -48,11 +48,11 @@ docdir = $(exec_prefix)/doc
# 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++
# H5_CFLAGS holds flags that should be used when building hdf5,