import os
import glob
template_files = glob.glob('*.template.in')
+files = glob.glob('*.template')
Import('env install_prefix subst_dict')
Default(template_build)
-env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour/templates'), template_build))
+env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour2', 'templates'), files))
env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))