repo.or.cz
/
Samba
/
gebeck_regimport.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
docs: Add very basic samba manpage.
[Samba/gebeck_regimport.git]
/
buildtools
/
wafadmin
/
Tools
/
gob2.py
blob
00aaa32acda1a1da0e91850944f4242de8e6acd0
1
#!/usr/bin/env python
2
# encoding: utf-8
3
# Ali Sabil, 2007
4
5
import
TaskGen
6
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'
12
)
13
14
def
detect
(
conf
):
15
gob2
=
conf
.
find_program
(
'gob2'
,
var
=
'GOB2'
,
mandatory
=
True
)
16
conf
.
env
[
'GOB2'
] =
gob2
17
conf
.
env
[
'GOB2FLAGS'
] =
''
18