1b8e80941SmrgImport('*') 2b8e80941Smrg 3b8e80941Smrgfrom sys import executable as python_cmd 4b8e80941Smrg 5b8e80941SmrgLOCALEDIR = env.Dir('.').srcnode().abspath 6b8e80941Smrg 7b8e80941Smrgxmlpool_options, = env.CodeGenerate( 8b8e80941Smrg target = 'options.h', 9b8e80941Smrg script = 'gen_xmlpool.py', 10b8e80941Smrg source = ['t_options.h'], 11b8e80941Smrg command = python_cmd + ' $SCRIPT --template $SOURCE --output $TARGET --localedir ' + LOCALEDIR 12b8e80941Smrg) 13b8e80941Smrg 14b8e80941SmrgExport('xmlpool_options') 15