summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2020-05-30 22:08:18 -0400
committerGitHub <noreply@github.com>2020-05-30 21:08:18 -0500
commitb00080d2daa520fdc517b02a8662df761a9e690c (patch)
tree9dbae730bf579a370cec9803f3e0431156bdba5b /var
parent9eebc6b4c181f413cb9d58f19f13087b44bcfcd5 (diff)
downloadspack-b00080d2daa520fdc517b02a8662df761a9e690c.tar.gz
spack-b00080d2daa520fdc517b02a8662df761a9e690c.tar.bz2
spack-b00080d2daa520fdc517b02a8662df761a9e690c.tar.xz
spack-b00080d2daa520fdc517b02a8662df761a9e690c.zip
ssht: Install include files into "include/ssht" (#16879)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ssht/package.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/ssht/package.py b/var/spack/repos/builtin/packages/ssht/package.py
index 7a4cd4857b..1500871e62 100644
--- a/var/spack/repos/builtin/packages/ssht/package.py
+++ b/var/spack/repos/builtin/packages/ssht/package.py
@@ -28,20 +28,20 @@ class Ssht(Package):
def install(self, spec, prefix):
make('default', 'SSHTDIR=.')
- mkdirp(join_path(prefix, 'include'))
+ mkdirp(join_path(prefix, 'include', 'ssht'))
install('src/c/ssht.h',
- join_path(prefix, 'include', 'ssht.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht.h'))
install('src/c/ssht_adjoint.h',
- join_path(prefix, 'include', 'ssht_adjoint.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_adjoint.h'))
install('src/c/ssht_core.h',
- join_path(prefix, 'include', 'ssht_core.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_core.h'))
install('src/c/ssht_dl.h',
- join_path(prefix, 'include', 'ssht_dl.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_dl.h'))
install('src/c/ssht_error.h',
- join_path(prefix, 'include', 'ssht_error.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_error.h'))
install('src/c/ssht_sampling.h',
- join_path(prefix, 'include', 'ssht_sampling.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_sampling.h'))
install('src/c/ssht_types.h',
- join_path(prefix, 'include', 'ssht_types.h'))
+ join_path(prefix, 'include', 'ssht', 'ssht_types.h'))
install_tree('doc/c', join_path(prefix, 'doc'))
install_tree('lib/c', join_path(prefix, 'lib'))