diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2010-05-12 20:55:52 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2010-05-12 20:55:52 (GMT) |
commit | fa416bde84a8c219fa570660bbf3ec8ab16320e7 (patch) | |
tree | 5430f5c54b5d4a458859f7e9e10723c09e4e7673 /fortran/examples/Makefile.am | |
parent | eeeb3937624f7db68680e1074b1154adc780d516 (diff) | |
download | hdf5-fa416bde84a8c219fa570660bbf3ec8ab16320e7.zip hdf5-fa416bde84a8c219fa570660bbf3ec8ab16320e7.tar.gz hdf5-fa416bde84a8c219fa570660bbf3ec8ab16320e7.tar.bz2 |
[svn-r18779] Add ${DESTDIR} to scripts and Makefiles so that make DESTDIR=<install directory> install, installcheck and uninstall is supported for installing examples, since they are now installed as part of make install. This was necessary for rpmbuilds, but should also be supported otherwise.
Tested: amani, jam, linew with committest, rpmbuild on jam and amani.
Diffstat (limited to 'fortran/examples/Makefile.am')
-rw-r--r-- | fortran/examples/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/examples/Makefile.am b/fortran/examples/Makefile.am index bb3be1a..5d03d2a 100644 --- a/fortran/examples/Makefile.am +++ b/fortran/examples/Makefile.am @@ -64,7 +64,7 @@ $(EXTRA_PROG): $(H5FC) endif # Tell automake how to install examples -EXAMPLEDIR=$(exec_prefix)/examples/fortran +EXAMPLEDIR=${DESTDIR}/$(exec_prefix)/share/hdf5_examples/fortran # List dependencies for each example. Normally, automake would take # care of this for us, but if we tell automake about the programs it |