summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2010-04-30 20:28:45 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2010-04-30 20:28:45 (GMT)
commit6d912b639416158f700397909996f2687473cfd3 (patch)
tree465e979e449cf54b36cc80e8a282788bda2c4d6d /Makefile.am
parentd44e26b78a60bdccb59e2935a07a0cbef7eb5321 (diff)
downloadhdf5-6d912b639416158f700397909996f2687473cfd3.zip
hdf5-6d912b639416158f700397909996f2687473cfd3.tar.gz
hdf5-6d912b639416158f700397909996f2687473cfd3.tar.bz2
[svn-r18680] Added running make install-examples to make install. Make install-examples will still install example files and make install will also install them.
Diffstat (limited to 'Makefile.am')
-rwxr-xr-xMakefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 7acc2db..8e1ce4a 100755
--- a/Makefile.am
+++ b/Makefile.am
@@ -125,13 +125,16 @@ mostlyclean-local:
$(RM) -rf ii_files; \
fi
+# 'make install' will now install examples, the same as 'make install-all'.
+# 'make-install-all' will be redundant but will still work.
+install: install-recursive install-examples
+uninstall: uninstall-recursive uninstall-examples
+
# 'make install-all' also installs examples
install-all:
@$(MAKE) $(AM_MAKEFLAGS) install
- @$(MAKE) $(AM_MAKEFLAGS) install-examples
uninstall-all:
@$(MAKE) $(AM_MAKEFLAGS) uninstall
- @$(MAKE) $(AM_MAKEFLAGS) uninstall-examples
# Install examples in this directory and recursively
install-examples uninstall-examples: