mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Move check for XMLSRC to etg command instead of when the etgtools are imported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
2
build.py
2
build.py
@@ -606,6 +606,8 @@ def doxhtml(options, args):
|
||||
def etg(options, args):
|
||||
cmdTimer = CommandTimer('etg')
|
||||
cfg = Config()
|
||||
assert os.path.exists(cfg.DOXY_XML_DIR), "Doxygen XML folder not found: " + cfg.DOXY_XML_DIR
|
||||
|
||||
pwd = pushDir(cfg.ROOT_DIR)
|
||||
|
||||
# TODO: Better support for selecting etg cmd-line flags...
|
||||
|
||||
@@ -26,7 +26,6 @@ cfg = Config(noWxConfig=True)
|
||||
|
||||
phoenixRoot = cfg.ROOT_DIR
|
||||
XMLSRC = cfg.DOXY_XML_DIR
|
||||
assert os.path.exists(XMLSRC), "Unable to locate Doxygen XML files at " + XMLSRC
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user