13
0
livetrax/templates/SConscript
David Robillard 4d94305cc9 Fix install path problems (s/ardour2/ardour3).
Fix finding of keybindings file when running from source tree (via ardev/ardbg).
Fix clashing keybindings for zoom stuff.
Add note tool keybinding and menu entry.


git-svn-id: svn://localhost/ardour2/branches/3.0@3099 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21 19:30:01 +00:00

19 lines
538 B
Python

# -*- python -*-
import os
import glob
template_files = glob.glob('*.template.in')
files = glob.glob('*.template')
Import('env install_prefix subst_dict')
template_build = []
for template in template_files:
template_build = template_build + [env.SubstInFile (template[:-3], template, SUBST_DICT = subst_dict)]
Default(template_build)
env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour3', 'templates'), files))
env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))