add build stuff for export formats/presets
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 13 Mar 2011 16:23:35 +0000 (16:23 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 13 Mar 2011 16:23:35 +0000 (16:23 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9137 d708f5d6-7413-0410-9779-e7cbd77b26cf

export/wscript [new file with mode: 0644]
wscript

diff --git a/export/wscript b/export/wscript
new file mode 100644 (file)
index 0000000..2b81276
--- /dev/null
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+
+import os
+import glob
+
+srcdir = '.'
+blddir = 'build'
+
+def configure(conf):
+    pass
+
+def build(bld):
+    presets = glob.glob (os.path.join(bld.get_curdir(), '*.preset'))
+    formats = glob.glob (os.path.join(bld.get_curdir(), '*.format'))
+    bld.install_files (os.path.join(bld.env['DATADIR'], 'ardour3', 'export'), 
+                      presets + formats)
+
+def set_options(opt):
+    pass
diff --git a/wscript b/wscript
index 5bc992f11d5c5c822db771cd4ad52d06fb7e3fd2..d6e0330218263d270521820e1af94785a38ed4eb 100644 (file)
--- a/wscript
+++ b/wscript
@@ -35,6 +35,7 @@ children = [
        'libs/gnomecanvas',
        'gtk2_ardour',
        'templates',
+        'export',
 # this needs to be conditional at some point, since
 # we will not build it or use it on OS X
         'tools/sanity_check'