diff --git a/scripts/H5hut.build b/scripts/H5hut.build index 37870e3..9783215 100755 --- a/scripts/H5hut.build +++ b/scripts/H5hut.build @@ -34,15 +34,10 @@ function em.install() { make -C tools install } -function em.install_doc() { - install -m 0444 \ - AUTHORS \ - COPYING \ - "${DOCDIR}" -} em.add_to_family 'HDF5' em.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5' em.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "vtk" "hdf5" +em.set_docfiles 'AUTHORS' 'COPYING' em.make_all diff --git a/scripts/SuperLU_DIST.build b/scripts/SuperLU_DIST.build index 958f55b..2f3c510 100755 --- a/scripts/SuperLU_DIST.build +++ b/scripts/SuperLU_DIST.build @@ -39,11 +39,9 @@ function em.install() { install -m 0444 "${MODULE_SRCDIR}"/SRC/*.h "${PREFIX}/include" } -function em.install_doc() { - install -m 0444 README "${DOCDIR}" -} em.add_to_family 'MPI' em.set_runtime_dependencies "${COMPILER}" "${MPI}" em.set_build_dependencies "${COMPILER}" "${MPI}" "OpenBLAS" +em.set_docfiles 'README' em.make_all diff --git a/scripts/UMFPACK.bash b/scripts/UMFPACK.bash index 7fc5232..0e2098b 100755 --- a/scripts/UMFPACK.bash +++ b/scripts/UMFPACK.bash @@ -37,10 +37,6 @@ function em.install() { make PREFIX="${PREFIX}" install } -function em.install_doc() { - : -} - em.add_to_family 'Compiler' em.set_runtime_dependencies "${COMPILER}" 'OpenBLAS' em.set_build_dependencies "${COMPILER}" 'OpenBLAS' diff --git a/scripts/mathlib.build b/scripts/mathlib.build index 16de08d..58e4052 100755 --- a/scripts/mathlib.build +++ b/scripts/mathlib.build @@ -43,10 +43,6 @@ function em.install() { : } -function em.install_doc() { - : -} - em.add_to_family 'Compiler' em.set_runtime_dependencies "${COMPILER}" em.set_build_dependencies "${COMPILER}" diff --git a/scripts/parmetis.build b/scripts/parmetis.build index 6ea62e3..1f1ec61 100755 --- a/scripts/parmetis.build +++ b/scripts/parmetis.build @@ -43,19 +43,11 @@ function em.install() { : } -function em.install_doc() { - install -m 0444 \ - CHANGES \ - INSTALL \ - LICENSE.txt \ - README \ - VERSION \ - "${DOCDIR}" -} em.add_to_family 'MPI' em.set_runtime_dependencies "${COMPILER}" "${MPI}" em.set_build_dependencies "${COMPILER}" "${MPI}" +em.set_docfiles 'CHANGES' 'INSTALL' 'LICENSE.txt' 'README' 'VERSION' em.make_all em.cleanup_src