merged with 1697 revision of trunk (which is post-rc1 but pre-rc2
[ardour.git] / templates / SConscript
index 7fa556530b1e083a53a84211d33ed5ef484bf117..60a80c5619c2163f9f6fafe197d0e37e2baf47b7 100644 (file)
@@ -3,6 +3,7 @@
 import os
 import glob
 template_files = glob.glob('*.template.in')
+files = glob.glob('*.template')
 
 Import('env install_prefix subst_dict')
 
@@ -13,5 +14,5 @@ for template in template_files:
 
 Default(template_build)
 
-env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour2/templates'), template_build))
+env.Alias('install', env.Install(os.path.join(install_prefix, 'share', 'ardour2', 'templates'), files))
 env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_build))