--- a/wscript Mon Aug 13 16:08:13 2012 -0700
+++ b/wscript Wed Aug 08 14:04:05 2012 -0700
@@ -1075,6 +1075,7 @@
_getVersion()
doxygen_config = os.path.join('doc', 'doxygen.conf')
if subprocess.Popen([env['DOXYGEN'], doxygen_config]).wait():
+ Logs.error("Doxygen build returned an error.")
raise SystemExit(1)
@@ -1085,9 +1086,8 @@
prog = "doc/ns3_html_theme/get_version.sh"
if subprocess.Popen([prog]).wait() :
- print "ERROR: " + prog
+ Logs.error(prog + " returned an error")
raise SystemExit(1)
- print "SUCCESS: " + prog
class Ns3DoxygenContext(Context.Context):
"""do a full build, generate the introspected doxygen and then the doxygen"""
@@ -1112,6 +1112,7 @@
if subprocess.Popen(["make", "SPHINXOPTS=-N", "-k",
"html", "singlehtml", "latexpdf" ],
cwd=path).wait() :
+ Logs.error("Sphinx build of " + path + " returned an error.")
raise SystemExit(1)
def execute(self):