summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-03-08 19:48:09 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-03-08 19:48:09 (GMT)
commit030fce8c3d1bde2ad36ab535abfa6efc601b0ff0 (patch)
tree96caedce3a0c0adf8bf81af41078928c7c3f37c3 /fortran
parenta76ad5cb6017859bd9a025a626f33a52edc189be (diff)
downloadhdf5-030fce8c3d1bde2ad36ab535abfa6efc601b0ff0.zip
hdf5-030fce8c3d1bde2ad36ab535abfa6efc601b0ff0.tar.gz
hdf5-030fce8c3d1bde2ad36ab535abfa6efc601b0ff0.tar.bz2
[svn-r5054] Purpose:
Bug Fix Description: Fortran module files weren't uninstalled when doing an uninstall. Solution: Added the code into the uninstall: part of the conclude.in file to remove them if they're there... Platforms tested: Linux
Diffstat (limited to 'fortran')
-rw-r--r--fortran/config/conclude.in15
1 files changed, 10 insertions, 5 deletions
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index fbb7717..eb8114e 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -111,15 +111,20 @@ install-doc: $(PUB_DOCS) $(DOCDIR)
## Removes those things that `make install' (would have) installed.
uninstall:
@for f in libhdf5.settings $(LIB); do \
- $(LT_UNINSTALL) $(libdir)/$$f; \
+ $(LT_UNINSTALL) $(libdir)/$$f; \
done
@if test "X$(PUB_HDR)" != X; then \
- set -x; cd $(includedir) && $(RM) $(PUB_HDR); \
+ set -x; cd $(includedir) && $(RM) $(PUB_HDR); \
+ fi
+ @if test -n "$(F9XMODEXT)" -a "X$(F9XMODEXT)" != "Xo"; then \
+ if test -f "$(libdir)/hdf5.$(F9XMODEXT)" -o -f "$(libdir)/HDF5.$(F9XMODEXT)"; then \
+ set -x; $(RM) $(libdir)/*.$(F9XMODEXT); \
+ fi; \
fi
@for f in X $(PUB_PROGS); do \
- if test $$f != X; then \
- $(LT_UNINSTALL) $(bindir)/$$f; \
- fi; \
+ if test $$f != X; then \
+ $(LT_UNINSTALL) $(bindir)/$$f; \
+ fi; \
done
## Removes those things that `make install-doc' (would have) installed.