2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-26 11:51:20 +01:00

extras: rst: add install_path processing (defaults to not installing)

This commit is contained in:
Jérôme Carretero 2013-08-20 13:59:14 -04:00
parent 24abf4f08c
commit 669094a51f

View File

@ -206,6 +206,10 @@ def apply_rst(self):
except KeyError:
self.bld.node_deps[task.uid()] = deps_lst
inst_to = getattr(self, 'install_path', None)
if inst_to:
self.install_task = self.bld.install_files(inst_to, task.outputs[:], env=self.env)
self.source = []
def configure(self):