[svn-r3149] Purpose:

Bug Fix
Description:
	When trying to install the Fortran Modules, it would barf if
	there weren't any files in the directory with that extension
	(i.e., in the test/ directory).
Solution:
	Changed the installation to install only those files which
	actually have the correct extension we want.
Platforms tested:
	This type of fix works on the T3E and Linux
This commit is contained in:
Bill Wendling 2000-12-18 14:17:31 -05:00
parent 6d71c2cacc
commit e0f561af84

View File

@ -67,7 +67,11 @@ install: $(PUB_LIB) $(PUB_HDR) $(PUB_PROGS) $(libdir) $(includedir) $(bindir)
fi; \
done
@if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
($(LT_INSTALL_LIB) *.$(F9XMODEXT) $(libdir)/. || exit 1); \
for f in X *.$(F9XMODEXT); do \
if test $$f != X; then \
($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1); \
fi; \
done; \
fi
@if test -f libhdf5.settings; then \
(set -x; $(INSTALL_DATA) libhdf5.settings $(libdir)/. || exit 1); \