summaryrefslogtreecommitdiffstats
path: root/hl/examples/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'hl/examples/Makefile.in')
-rw-r--r--hl/examples/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/hl/examples/Makefile.in b/hl/examples/Makefile.in
index 31c21f0..d4e2e94 100644
--- a/hl/examples/Makefile.in
+++ b/hl/examples/Makefile.in
@@ -333,7 +333,7 @@ CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.h5
@BUILD_PARALLEL_CONDITIONAL_TRUE@TEST_PROG_PARA =
# Example directory
-EXAMPLEDIR = $(docdir)/hdf5/examples/hl/c
+EXAMPLEDIR = $(exec_prefix)/examples/hl/c
# Example programs.
# Don't tell automake about them, because if it knew they were programs,
@@ -625,12 +625,13 @@ install-data-local:
uninstall-local:
@$(MAKE) $(AM_MAKEFLAGS) uninstall-examples
-install-examples: $(EXAMPLEDIR) $(INSTALL_FILES)
+install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) $(TEST_SCRIPT)
@for f in X $(INSTALL_FILES); do \
if test $$f != X; then \
(set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\
fi; \
done
+ @(set -x; $(INSTALL) $(builddir)/$(TEST_SCRIPT) $(EXAMPLEDIR)/.. || exit 1);
uninstall-examples:
@if test -n "$(INSTALL_FILES)" -a -d $(EXAMPLEDIR); then \