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
1 changed files with 4 additions and 0 deletions

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):