X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=export%2Fwscript;h=23a070f61dc47c0b3baddcfcc5d5c95597804f7f;hb=05149f9bc54d0cfb8b162ba7cfac975b5eb79971;hp=2b81276b0c0b0f2ea4b151c6cc62222a9268717b;hpb=9c167087aa684525ef1022f9ef92a1a57d80d0f1;p=ardour.git diff --git a/export/wscript b/export/wscript index 2b81276b0c..23a070f61d 100644 --- a/export/wscript +++ b/export/wscript @@ -1,19 +1,18 @@ #!/usr/bin/python import os -import glob -srcdir = '.' -blddir = 'build' +top = '.' +out = '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 = bld.path.ant_glob ('*.preset') + formats = bld.path.ant_glob ('*.format') + bld.install_files (os.path.join(bld.env['DATADIR'], 'export'), presets + formats) -def set_options(opt): +def options(opt): pass