From 0f5cb8fbe1d9020757358fe75171f047101c89c5 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Wed, 16 Jul 2014 17:13:49 +0200 Subject: [PATCH] hdf5.build: use function em.set_docfiles() to set files going to installed in the doc-directory of the module --- scripts/hdf5.build | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/hdf5.build b/scripts/hdf5.build index 9f3a391..d7eaa4a 100755 --- a/scripts/hdf5.build +++ b/scripts/hdf5.build @@ -20,17 +20,14 @@ function em.configure() { || exit 1 } -function em.install_doc() { - install -m 0444 \ - ACKNOWLEDGMENTS \ - COPYING \ - MANIFEST \ - README.txt \ - "${DOCDIR}" -} em.add_to_family 'MPI' em.set_runtime_dependencies "${COMPILER}" "${MPI}" em.set_build_dependencies "${COMPILER}" "${MPI}" +em.set_docfiles \ + ACKNOWLEDGMENTS \ + COPYING \ + MANIFEST \ + README.txt \ em.make_all