5 template_files = glob.glob('*.template.in')
7 Import('env install_prefix subst_dict')
11 for template in template_files:
12 template_build = template_build + [env.SubstInFile (template[:-3], template, SUBST_DICT = subst_dict)]
14 Default(template_build)
16 env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour/templates'), template_build))
17 env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))