summaryrefslogtreecommitdiffstats
path: root/hl/examples/Makefile.am
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-06-16 13:59:55 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-06-16 13:59:55 (GMT)
commitd20000ec51d50b66fc1226eeb656b8dc1358f826 (patch)
tree93a9038c8adc0ac79378fb8543ae45f1045adbd1 /hl/examples/Makefile.am
parentb718bf567f5ccd649a4d3153276f47a56ee0d939 (diff)
parent4cebd8aa6c965fe2e5dde6dbff36b2be3ca58bf1 (diff)
downloadhdf5-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 'hl/examples/Makefile.am')
-rw-r--r--hl/examples/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/examples/Makefile.am b/hl/examples/Makefile.am
index cc2d671..c9d90dd 100644
--- a/hl/examples/Makefile.am
+++ b/hl/examples/Makefile.am
@@ -25,8 +25,8 @@ endif
# Example directory
# Note: no '/' after DESTDIR. Explanation in commence.am
-EXAMPLEDIR=$(examplesdir)/hl/c
-EXAMPLETOPDIR=$(examplesdir)/hl
+EXAMPLEDIR=${DESTDIR}$(examplesdir)/hl/c
+EXAMPLETOPDIR=${DESTDIR}$(examplesdir)/hl
INSTALL_SCRIPT_FILES = run-hlc-ex.sh
INSTALL_TOP_SCRIPT_FILES = run-hl-ex.sh