git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: Remove workaround for missing os.path.relpath in Python < 2.6
[samba.git]
/
buildtools
/
wafsamba
/
samba_autoproto.py
diff --git
a/buildtools/wafsamba/samba_autoproto.py
b/buildtools/wafsamba/samba_autoproto.py
index ace434f3c6bdf77526af24bae2c3b654f81f328f..87fb8ef25c57c75e945864028f20fe1a3ee06f8a 100644
(file)
--- a/
buildtools/wafsamba/samba_autoproto.py
+++ b/
buildtools/wafsamba/samba_autoproto.py
@@
-2,12
+2,12
@@
import os
from waflib import Build
import os
from waflib import Build
-from samba_utils import SET_TARGET_TYPE
, os_path_relpath
+from samba_utils import SET_TARGET_TYPE
def SAMBA_AUTOPROTO(bld, header, source):
'''rule for samba prototype generation'''
bld.SET_BUILD_GROUP('prototypes')
def SAMBA_AUTOPROTO(bld, header, source):
'''rule for samba prototype generation'''
bld.SET_BUILD_GROUP('prototypes')
- relpath = os
_path_
relpath(bld.path.abspath(), bld.srcnode.abspath())
+ relpath = os
.path.
relpath(bld.path.abspath(), bld.srcnode.abspath())
name = os.path.join(relpath, header)
SET_TARGET_TYPE(bld, name, 'PROTOTYPE')
t = bld(
name = os.path.join(relpath, header)
SET_TARGET_TYPE(bld, name, 'PROTOTYPE')
t = bld(