summaryrefslogtreecommitdiff
path: root/templates/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'templates/SConscript')
-rw-r--r--templates/SConscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/SConscript b/templates/SConscript
new file mode 100644
index 0000000000..4269a1b988
--- /dev/null
+++ b/templates/SConscript
@@ -0,0 +1,9 @@
+# -*- python -*-
+
+import os
+import glob
+template_files = glob.glob('*.template')
+
+Import('env install_prefix')
+env.Alias('install', env.Install(os.path.join(install_prefix, 'share/ardour/templates'), template_files))
+env.Alias('tarball', env.Distribute (env['DISTTREE'], [ 'SConscript' ] + template_files))