diff options
Diffstat (limited to 'fortran/examples/Makefile.in')
-rw-r--r-- | fortran/examples/Makefile.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in index aa67d82..05ebe21 100644 --- a/fortran/examples/Makefile.in +++ b/fortran/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. @@ -357,7 +357,7 @@ INSTALL_FILES = dsetexample.f90 fileexample.f90 rwdsetexample.f90 \ FORTRAN_API = yes # Tell automake how to install examples -EXAMPLEDIR = $(exec_prefix)/examples/fortran +EXAMPLEDIR = ${DESTDIR}/$(exec_prefix)/share/hdf5_examples/fortran # Assume that all tests in this directory are examples, and tell # conclude.am when to build them. |