13
0

fix waf template install

This commit is contained in:
Robin Gareus 2017-08-24 15:26:14 +02:00
parent 76b480cedf
commit 55f0bb692a

View File

@ -1351,7 +1351,7 @@ def build(bld):
bld.install_files (bld.env['CONFDIR'], 'system_config')
bld.install_files (os.path.join (bld.env['DATADIR'], 'templates'), bld.path.ant_glob ('templates/**'))
bld.install_files (os.path.join (bld.env['DATADIR'], 'templates'), bld.path.ant_glob ('templates/**'), cwd=bld.path.find_dir ('templates'), relative_trick=True)
if bld.env['RUN_TESTS']:
bld.add_post_fun(test)