Also install examples directory
This commit is contained in:
parent
cb6c6fb374
commit
01f2dd03d5
@ -104,13 +104,18 @@ def configure(self, spec):
|
|||||||
|
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
|
# Elk only provides an interactive setup script
|
||||||
self.configure(spec)
|
self.configure(spec)
|
||||||
|
|
||||||
make()
|
make()
|
||||||
make('test')
|
make('test')
|
||||||
|
|
||||||
|
# The Elk Makefile does not provide an install target
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
|
|
||||||
install('src/elk', prefix.bin)
|
install('src/elk', prefix.bin)
|
||||||
install('src/eos/eos', prefix.bin)
|
install('src/eos/eos', prefix.bin)
|
||||||
install('src/spacegroup/spacegroup', prefix.bin)
|
install('src/spacegroup/spacegroup', prefix.bin)
|
||||||
|
|
||||||
|
install_tree('examples', join_path(prefix, 'examples'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user