(OS X) make /Volumes show up in 1 extra location in the new session dialog
[ardour2.git] / templates / SConscript
blob60a80c5619c2163f9f6fafe197d0e37e2baf47b7
1 # -*- python -*-
3 import os
4 import glob
5 template_files = glob.glob('*.template.in')
6 files = glob.glob('*.template')
8 Import('env install_prefix subst_dict')
10 template_build = []
12 for template in template_files:
13     template_build = template_build + [env.SubstInFile (template[:-3], template, SUBST_DICT = subst_dict)]
15 Default(template_build)
17 env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour2', 'templates'), files))
18 env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))