diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-04-22 22:52:25 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-04-22 22:52:25 (GMT) |
commit | a10961f0cdc7958d837f66d589e3304619d8bcf2 (patch) | |
tree | 92ac522a15692054ae9297824eff347e3c340a89 /c++ | |
parent | 696b504a3773c01a6562a8b141bd32ba025e47e3 (diff) | |
download | hdf5-a10961f0cdc7958d837f66d589e3304619d8bcf2.zip hdf5-a10961f0cdc7958d837f66d589e3304619d8bcf2.tar.gz hdf5-a10961f0cdc7958d837f66d589e3304619d8bcf2.tar.bz2 |
[svn-r6732] Purpose:
Bug fix and feature
Description:
The patch to Makefile.in failed if an empty directory of fortran/examples
was left behind by a previous build.
Solution:
Attempted to put it in config/conclude.in just became a mess since
it is hard to predict when we will include examples in the subdirs
or not.
Borrow the structure of install-examples and do some handcode per
interface. The Makefile.in of each interface (C, Fortran, C++)
controls everything. Not very systematic but pretty clean for this
case.
Platforms tested:
h5committested.
Also tested in modi4 with various combinations of fortran, c++
enabled.
Misc. update:
Diffstat (limited to 'c++')
-rw-r--r-- | c++/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c++/Makefile.in b/c++/Makefile.in index 42e400e..ca0f576 100644 --- a/c++/Makefile.in +++ b/c++/Makefile.in @@ -104,6 +104,11 @@ install-examples: uninstall-examples: (cd examples && $(MAKE) $@) || exit 1; +## Check if installation is correct by checking if examples can be built. +## This requires a proper "make install" has been done. +check-install: + (cd examples && $(MAKE) check) || exit 1 + .PHONY: all lib progs test _test install uninstall dep depend clean \ mostlyclean distclean maintainer-clean |