diff options
author | HDF Tester <hdftest@hdfgroup.org> | 2010-05-03 01:39:59 (GMT) |
---|---|---|
committer | HDF Tester <hdftest@hdfgroup.org> | 2010-05-03 01:39:59 (GMT) |
commit | 47fef210e85ecce83cfd1e1971f7748ed9ef3324 (patch) | |
tree | c36ffb2cf2a8b21fa2f4cc2a119c671771a92e6e /hl/fortran/examples | |
parent | be0a7c4a64893b0258d820de1dffd4e272d096f4 (diff) | |
download | hdf5-47fef210e85ecce83cfd1e1971f7748ed9ef3324.zip hdf5-47fef210e85ecce83cfd1e1971f7748ed9ef3324.tar.gz hdf5-47fef210e85ecce83cfd1e1971f7748ed9ef3324.tar.bz2 |
[svn-r18688] Snapshot version 1.8 release 4 (snap20)
Diffstat (limited to 'hl/fortran/examples')
-rw-r--r-- | hl/fortran/examples/Makefile.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hl/fortran/examples/Makefile.in b/hl/fortran/examples/Makefile.in index e0acfea..58e24a9 100644 --- a/hl/fortran/examples/Makefile.in +++ b/hl/fortran/examples/Makefile.in @@ -348,7 +348,7 @@ INSTALL_FILES = FORTRAN_API = yes # Tell automake how to install examples -EXAMPLEDIR = $(docdir)/hdf5/examples/hl/fortran +EXAMPLEDIR = $(exec_prefix)/examples/hl/fortran # Assume that all tests in this directory are examples, and tell # conclude.am when to build them. @@ -599,7 +599,9 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) $(TEST_SCRIPT) (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ fi; \ done - @(set -x; $(INSTALL) $(builddir)/$(TEST_SCRIPT) $(EXAMPLEDIR)/.. || exit 1); + @if test $(TEST_SCRIPT) != X; then \ + (set -x; $(INSTALL) $(builddir)/$(TEST_SCRIPT) $(EXAMPLEDIR)/.. \ + || exit 1); uninstall-examples: @if test -n "$(INSTALL_FILES)" -a -d $(EXAMPLEDIR); then \ |