summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2015-04-29 07:31:16 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2015-04-29 07:31:16 (GMT)
commit725e20294e0ea2aedb20f2745564f71e053bb3dc (patch)
tree6c18d6d58e5cbb05465b91482e89a272e6f3f4f8 /c++/examples
parent28c0d72b7e98f034c8375124f2fbf6b2f878f69b (diff)
downloadhdf5-725e20294e0ea2aedb20f2745564f71e053bb3dc.zip
hdf5-725e20294e0ea2aedb20f2745564f71e053bb3dc.tar.gz
hdf5-725e20294e0ea2aedb20f2745564f71e053bb3dc.tar.bz2
[svn-r26964] HDFFV-9298: make uninstall generated "test: argument expected" lines
The error is that $EXAMPLETOPDIR is used without setting a value first. Solution is to set them with the proper values. Tested: jam only to confirm the error no longer exists.
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/Makefile.am1
-rw-r--r--c++/examples/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/c++/examples/Makefile.am b/c++/examples/Makefile.am
index 92c757f..2408217 100644
--- a/c++/examples/Makefile.am
+++ b/c++/examples/Makefile.am
@@ -52,6 +52,7 @@ CXX_API=yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
EXAMPLEDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
+EXAMPLETOPDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples
# How to build programs using h5c++
$(EXTRA_PROG): $(H5CPP)
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 3c50411..03bd135 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -627,6 +627,7 @@ CXX_API = yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
EXAMPLEDIR = ${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
+EXAMPLETOPDIR = ${DESTDIR}$(exec_prefix)/share/hdf5_examples
# Assume that all tests in this directory are examples, and tell
# conclude.am when to build them.