Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

  1. Import('*')
  2.  
  3. from sys import executable as python_cmd
  4.  
  5. LOCALEDIR = env.Dir('.').srcnode().abspath
  6.  
  7. xmlpool_options, = env.CodeGenerate(
  8.     target = 'options.h',
  9.     script = 'gen_xmlpool.py',
  10.     source = ['t_options.h'],
  11.     command = python_cmd + ' $SCRIPT $SOURCE ' + LOCALEDIR + ' > $TARGET'
  12. )
  13.  
  14. Export('xmlpool_options')
  15.