build: we don't need the special case for s3build any more
authorAndrew Tridgell <tridge@samba.org>
Mon, 21 Feb 2011 04:10:36 +0000 (15:10 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 22 Feb 2011 01:51:10 +0000 (02:51 +0100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

buildtools/wafsamba/samba3.py

index 9344e55e87e4bad95c321f9901838f3ef2928c3a..cb459ad115a6523b063d3b8c23dcade64504eebf 100644 (file)
@@ -50,12 +50,6 @@ def s3_fix_kwargs(bld, kwargs):
     s3dir = os.path.join(bld.env.srcdir, 'source3')
     s3reldir = os_path_relpath(s3dir, bld.curdir)
 
-    # cope with the fact that the s3 waf rules were originally written
-    # assuming relative paths to source3/. This only triggers when using the
-    # wscript rules in s3build/
-    if bld.curdir.endswith("/s3build") and not 'subdir' in kwargs:
-        kwargs['subdir'] = s3reldir
-
     # the extra_includes list is relative to the source3 directory
     extra_includes = [ '.', 'include', 'lib' ]
     if bld.env.use_intree_heimdal: