projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
main fix: when transport stops, clear per-region per-playlist note trackers even...
[ardour.git]
/
templates
/
wscript
diff --git
a/templates/wscript
b/templates/wscript
index 7d01a73bb8b0ad19f577c3657ed65bc5872a9d0c..9e390434e6026164ebcf50504c184f2d1f778b0e 100644
(file)
--- a/
templates/wscript
+++ b/
templates/wscript
@@
-21,10
+21,13
@@
def build(bld):
templates = bld.path.ant_glob('*.template.in')
for t in templates:
obj = bld(features = 'subst')
templates = bld.path.ant_glob('*.template.in')
for t in templates:
obj = bld(features = 'subst')
+ obj.name = 'template'
obj.source = [ t ]
obj.source = [ t ]
- obj.target = [ os.path.basename(t.srcpath()).replace('.in', '') ]
+ dir_name = os.path.basename(t.srcpath()).replace('.template.in', '')
+ file_name = os.path.basename(t.srcpath()).replace('.in', '')
+ obj.target = [ os.path.join(dir_name, file_name) ]
obj.dict = subst_dict
obj.dict = subst_dict
- obj.install_path = os.path.join(bld.env['DATADIR'], 'ardour3',
'templates'
)
+ obj.install_path = os.path.join(bld.env['DATADIR'], 'ardour3',
os.path.join('templates', dir_name)
)
def options(opt):
pass
def options(opt):
pass