diff options
author | David Young <dyoung@hdfgroup.org> | 2020-06-16 13:59:55 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-06-16 13:59:55 (GMT) |
commit | d20000ec51d50b66fc1226eeb656b8dc1358f826 (patch) | |
tree | 93a9038c8adc0ac79378fb8543ae45f1045adbd1 /c++/examples | |
parent | b718bf567f5ccd649a4d3153276f47a56ee0d939 (diff) | |
parent | 4cebd8aa6c965fe2e5dde6dbff36b2be3ca58bf1 (diff) | |
download | hdf5-d20000ec51d50b66fc1226eeb656b8dc1358f826.zip hdf5-d20000ec51d50b66fc1226eeb656b8dc1358f826.tar.gz hdf5-d20000ec51d50b66fc1226eeb656b8dc1358f826.tar.bz2 |
Merge pull request #2610 in HDFFV/hdf5 from ~DYOUNG/werror:hdffv-11060-examples-destdir to develop
* commit '4cebd8aa6c965fe2e5dde6dbff36b2be3ca58bf1':
Make examples installation respect DESTDIR. Fixes HDFFV-11060.
Diffstat (limited to 'c++/examples')
-rw-r--r-- | c++/examples/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/Makefile.am b/c++/examples/Makefile.am index 0648504..cbec8f8 100644 --- a/c++/examples/Makefile.am +++ b/c++/examples/Makefile.am @@ -49,8 +49,8 @@ CXX_API=yes # Where to install examples # Note: no '/' after DESTDIR. Explanation in commence.am -EXAMPLEDIR=$(examplesdir)/c++ -EXAMPLETOPDIR=$(examplesdir) +EXAMPLEDIR=${DESTDIR}$(examplesdir)/c++ +EXAMPLETOPDIR=${DESTDIR}$(examplesdir) # How to build programs using h5c++ $(EXTRA_PROG): $(H5CPP) |