Also install examples directory

This commit is contained in:
Adam J. Stewart 2016-04-12 16:51:27 -05:00
parent cb6c6fb374
commit 01f2dd03d5

View File

@ -104,13 +104,18 @@ def configure(self, spec):
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'))