summaryrefslogtreecommitdiff
path: root/buildtools/wafadmin/Utils.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-20waf: Make samba "ok" with directories for install being symlinksIra Cooper1-2/+2
stat -> lstat conversion. This allows people for whom $PREFIX/var is a symlink to complete make install. Autobuild-User(master): Ira Cooper <ira@samba.org> Autobuild-Date(master): Thu Sep 20 23:26:26 CEST 2012 on sn-devel-104
2012-04-13wafsamba: add support for separate rules in stagesAlexander Bokovoy1-5/+0
bld.process_separate_rule(rule) and conf.process_separate_rule(rule) will cause WAF to import wscript_<stage>_<rule> script into current context. Files wscript_<configure|build>_<rule> should exist in the current directory. This can be used to provide rules specific for alternative implementations of certain libraries Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri Apr 13 18:34:39 CEST 2012 on sn-devel-104
2012-04-12WAF: Add support for stopping processing before end of wscript{_*}Alexander Bokovoy1-0/+5
WAF scripts are written in Python and Python has no simple way to stop program execution other than using exceptions. This change adds WscriptCheckSkipped exception and its handling in core WAF code. When any of wscript{_*} throws WscriptCheckSkipped exception, WAF simply continues to process next wscript in queue rather than breaking build. WscriptCheckSkipped exception can be used to perform early bail out of configuration/build target checks if certain dependency is not available when the default checks are way more numerous than a check for this particular dependency. This is to avoid 'if ...' indenting for large blocks of existing code which also muddens git history for nothing. Signed-off-by: Andreas Schneider <asn@samba.org>
2012-01-04Include waf as an extracted source directory, rather than as a one-in-a-file ↵Jelmer Vernooij1-0/+726
script.