summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2016-04-12 16:51:27 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2016-04-12 16:51:27 -0500
commit01f2dd03d5fe092ae448ee1a234a197babf38613 (patch)
tree3718cea93d87d7344ed2c295871386ab4b9bc698 /var
parentcb6c6fb3747aafbfb0fe81803eacf2807dde301f (diff)
downloadspack-01f2dd03d5fe092ae448ee1a234a197babf38613.tar.gz
spack-01f2dd03d5fe092ae448ee1a234a197babf38613.tar.bz2
spack-01f2dd03d5fe092ae448ee1a234a197babf38613.tar.xz
spack-01f2dd03d5fe092ae448ee1a234a197babf38613.zip
Also install examples directory
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/elk/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/elk/package.py b/var/spack/repos/builtin/packages/elk/package.py
index 28ebb89db3..780c41f726 100644
--- a/var/spack/repos/builtin/packages/elk/package.py
+++ b/var/spack/repos/builtin/packages/elk/package.py
@@ -104,13 +104,18 @@ class Elk(Package):
def install(self, spec, prefix):
+ # Elk only provides an interactive setup script
self.configure(spec)
make()
make('test')
+ # The Elk Makefile does not provide an install target
mkdirp(prefix.bin)
install('src/elk', prefix.bin)
install('src/eos/eos', prefix.bin)
install('src/spacegroup/spacegroup', prefix.bin)
+
+ install_tree('examples', join_path(prefix, 'examples'))
+