4
# Paul notes (April 2013)
6
# There seems to be little point in including templates with Ardour
7
# until or as long as the input connections of tracks depends on
8
# the user's hardware configuration. This makes any pre-existing
9
# templates potentially wrong/useless/annoying for anyone who
10
# uses a different hardware input configuration than was used
11
# to create the templates.
13
# Templates should be created by the user, not by us.
15
# I modified the code below, but have not tested it. For now
16
# this directory will be removed from the top level wscript's
30
templates = bld.path.ant_glob('*/*.template')
32
file_name = os.path.basename(t.srcpath())
33
dir_name = os.path.dirname(t.srcpath())
34
obj = bld(features = 'subst',
37
target = [ os.path.join(dir_name, file_name) ],
38
install_path = os.path.join(bld.env['DATADIR'], 'ardour3', os.path.join('templates', dir_name)))