From 1177dc94b8fca82187f4e2783da8fc842459934e Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 27 Jul 2007 15:04:25 +0100 Subject: [PATCH] WAF: handle the option --doxygen before building the entire project. --- wscript | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/wscript b/wscript index 35c17074a..c76724650 100644 --- a/wscript +++ b/wscript @@ -144,6 +144,10 @@ def build(bld): run_shell() return + if Params.g_options.doxygen: + doxygen() + raise SystemExit(0) + # process subfolders from here bld.add_subdirs('src') bld.add_subdirs('samples utils examples') @@ -164,9 +168,6 @@ def shutdown(): if Params.g_options.lcov_report: lcov_report() - if Params.g_options.doxygen: - doxygen() - if Params.g_options.run: run_program(Params.g_options.run, Params.g_options.command_template) raise SystemExit(0)