docs: Add very basic samba manpage.
[Samba/gebeck_regimport.git] / buildtools / wafadmin / Tools / gob2.py
blob00aaa32acda1a1da0e91850944f4242de8e6acd0
1 #!/usr/bin/env python
2 # encoding: utf-8
3 # Ali Sabil, 2007
5 import TaskGen
7 TaskGen.declare_chain(
8 name = 'gob2',
9 rule = '${GOB2} -o ${TGT[0].bld_dir(env)} ${GOB2FLAGS} ${SRC}',
10 ext_in = '.gob',
11 ext_out = '.c'
14 def detect(conf):
15 gob2 = conf.find_program('gob2', var='GOB2', mandatory=True)
16 conf.env['GOB2'] = gob2
17 conf.env['GOB2FLAGS'] = ''