diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2018-12-31 15:20:27 (GMT) |
---|---|---|
committer | Larry Knox <lrknox@hdfgroup.org> | 2018-12-31 15:20:27 (GMT) |
commit | 72124031ec497c0bccf5b9f89dc500a266e21dcf (patch) | |
tree | e5cb71953c937ad07ff831ddbac475bc817e325e /hl | |
parent | 715272eeb74f0b3e51c865e4139e1a295d156371 (diff) | |
download | hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.zip hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.tar.gz hdf5-72124031ec497c0bccf5b9f89dc500a266e21dcf.tar.bz2 |
Add libhdf5_hl_fortran symlinks for libhdf5hl_fortran files.
Set ctest*.lsf.in.cmake scripts for sierra.
Correct src/CMakelists.txt syntax error.
Diffstat (limited to 'hl')
-rw-r--r-- | hl/fortran/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hl/fortran/Makefile.am b/hl/fortran/Makefile.am index ad18a21..14456fe 100644 --- a/hl/fortran/Makefile.am +++ b/hl/fortran/Makefile.am @@ -26,6 +26,18 @@ include $(top_srcdir)/config/commence.am SUBDIRS=src test DIST_SUBDIRS=src test examples +# The name of the lib file doesn't follow the same pattern as the other hl lib +# files, namely libhdf5_hl_*. Add a symlink with the compliant name to the +# actual lib file. +install-exec-hook: + cd $(DESTDIR)$(libdir) && \ + if test -f libhdf5hl_fortran.a; then \ + $(LN_S) libhdf5hl_fortran.a libhdf5_hl_fortran.a; \ + fi; \ + if test -f libhdf5hl_fortran.so; then \ + $(LN_S) libhdf5hl_fortran.so libhdf5_hl_fortran.so; \ + fi; + # Install examples install-examples uninstall-examples: @(cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; |