summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/API/SConscript')
-rw-r--r--Documentation/API/SConscript9
1 files changed, 4 insertions, 5 deletions
diff --git a/Documentation/API/SConscript b/Documentation/API/SConscript
index 0a7ae36..df20b27 100644
--- a/Documentation/API/SConscript
+++ b/Documentation/API/SConscript
@@ -1,7 +1,6 @@
Import("env")
-myenv = env.Clone()
-
-myenv.Tool("DoxyGen", toolpath = ["#/BuildTools/SCons/Tools"])
-
-myenv.DoxyGen("Doxyfile")
+if "doc" in ARGUMENTS :
+ myenv = env.Clone()
+ myenv.Tool("DoxyGen", toolpath = ["#/BuildTools/SCons/Tools"])
+ myenv.DoxyGen("Doxyfile")