From 0c86f30d4bd1fa53df139dd3a182381477a1fc12 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Mon, 3 Nov 2014 23:28:47 +0200 Subject: Can install entire subtrees with one command. Closes #14. --- build.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.py') 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(), []) -- cgit v1.1