diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2012-06-02 18:54:58 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2012-06-02 18:54:58 (GMT) |
commit | f4990be63538b8941aa9ad0f4fcf4e11a82185cc (patch) | |
tree | 71d42c0a02d76806ff3529fe80f6c7ec59c92f2e /config | |
parent | 71c9b82d5e97480f965e857f8c65245d36f09916 (diff) | |
download | hdf5-f4990be63538b8941aa9ad0f4fcf4e11a82185cc.zip hdf5-f4990be63538b8941aa9ad0f4fcf4e11a82185cc.tar.gz hdf5-f4990be63538b8941aa9ad0f4fcf4e11a82185cc.tar.bz2 |
[svn-r22426] Add examples/README file to be installed with examples.
Text file only, but tested with h5committest.
Diffstat (limited to 'config')
-rw-r--r-- | config/examples.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/examples.am b/config/examples.am index 244e695..9acd719 100644 --- a/config/examples.am +++ b/config/examples.am @@ -32,6 +32,7 @@ ## The source files that the examples use which should be installed. ## INSTALL_SCRIPT_FILES ## INSTALL_TOP_SCRIPT_FILES +## INSTALL_TOP_FILES ## ## EXAMPLEDIR ## The directory into which examples should be installed. @@ -64,7 +65,7 @@ install-data-local: uninstall-local: @$(MAKE) $(AM_MAKEFLAGS) uninstall-examples -install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) +install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1); \ @@ -76,6 +77,12 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) (set -x; $(INSTALL) $$f $(EXAMPLEDIR)/. || exit 1);\ fi; \ done + @for f in X $(INSTALL_TOP_FILES); do \ + if test $$f != X; then \ + (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLETOPDIR)/. || exit 1); \ + chmod a-x $(EXAMPLETOPDIR)/$$f;\ + fi; \ + done @for f in X $(INSTALL_TOP_SCRIPT_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLETOPDIR)/. || exit 1); \ @@ -89,6 +96,9 @@ uninstall-examples: @if test -n "$(INSTALL_SCRIPT_FILES)" -a -d $(EXAMPLEDIR); then \ set -x; cd $(EXAMPLEDIR) && $(RM) $(INSTALL_SCRIPT_FILES); \ fi + @if test -n "$(INSTALL_TOP_FILES)" -a -d $(EXAMPLETOPDIR); then \ + set -x; cd $(EXAMPLETOPDIR) && $(RM) $(INSTALL_TOP_FILES); \ + fi @if test -n "$(INSTALL_TOP_SCRIPT_FILES)" -a -d $(EXAMPLETOPDIR); then \ set -x; cd $(EXAMPLETOPDIR) && $(RM) $(INSTALL_TOP_SCRIPT_FILES); \ fi |