aboutsummaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2014-11-03 23:28:47 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2014-11-03 23:28:47 +0200
commit0c86f30d4bd1fa53df139dd3a182381477a1fc12 (patch)
treec974c606dcf480d265e9e77e1a15490a407f95b7 /build.py
parenta500c6cfa885ab9da7527d6f983f162f31e47710 (diff)
downloadmeson-0c86f30d4bd1fa53df139dd3a182381477a1fc12.zip
meson-0c86f30d4bd1fa53df139dd3a182381477a1fc12.tar.gz
meson-0c86f30d4bd1fa53df139dd3a182381477a1fc12.tar.bz2
Can install entire subtrees with one command. Closes #14.
Diffstat (limited to 'build.py')
-rw-r--r--build.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.py b/build.py
index 0973ab9..ca87c26 100644
--- a/build.py
+++ b/build.py
@@ -77,6 +77,7 @@ class Build:
self.subprojects = {}
self.pkgconfig_gens = []
self.install_script = None
+ self.install_dirs = []
def has_language(self, language):
for i in self.compilers:
@@ -120,6 +121,9 @@ class Build:
def get_configure_files(self):
return self.configure_files
+ def get_install_subdirs(self):
+ return self.install_dirs
+
def get_global_args(self, compiler):
return self.global_args.get(compiler.get_language(), [])