X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=templates%2Fwscript;fp=templates%2Fwscript;h=0000000000000000000000000000000000000000;hb=5cffe7fa840481cd7c332ed058016eada49eed6c;hp=ab7e8d076865101039d68bb33dbd8009ea8e2098;hpb=74fada443d902c919b35ca736cbd5722624b49c4;p=ardour.git diff --git a/templates/wscript b/templates/wscript deleted file mode 100644 index ab7e8d0768..0000000000 --- a/templates/wscript +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/python - -# -# Paul notes (April 2013) -# -# There seems to be little point in including templates with Ardour -# until or as long as the input connections of tracks depends on -# the user's hardware configuration. This makes any pre-existing -# templates potentially wrong/useless/annoying for anyone who -# uses a different hardware input configuration than was used -# to create the templates. -# -# Templates should be created by the user, not by us. -# -# I modified the code below, but have not tested it. For now -# this directory will be removed from the top level wscript's -# list of children. -# - -import os - -top = '.' -out = 'build' - -def configure(conf): - pass - -def build(bld): - - templates = bld.path.ant_glob('*/*.template') - for t in templates: - file_name = os.path.basename(t.srcpath()) - dir_name = os.path.dirname(t.srcpath()) - obj = bld(features = 'subst', - name = 'template', - source = [ t ], - target = [ os.path.join(dir_name, file_name) ], - install_path = os.path.join(bld.env['DATADIR'], os.path.join('templates', dir_name))) - -def options(opt): - pass