Split doxygen generating into two steps (reporter and aegisub). This should be made triggerable so only aegisub/reporter docs are generated if sources are not touched in one or the other..

Originally committed to SVN as r3549.
This commit is contained in:
Amar Takhar 2009-09-26 08:44:32 +00:00
parent cda9ac3c3b
commit 3bc81569b3

View file

@ -72,6 +72,9 @@ re_doxygen = [
'^trunk/aegisub/src/libosxutil/.*\.h$',
'^trunk/aegisub/src/libosxutil/.*\.c$',
'^trunk/aegisub/src/include/aegisub/.*'
'^trunk/aegisub/reporter/.*\.c$',
'^trunk/aegisub/reporter/.*\.cpp$',
'^trunk/aegisub/reporter/.*\.h$',
]
@ -598,9 +601,9 @@ fwww_dox = factory.BuildFactory()
fwww_dox.addStep(source.SVN(mode="clobber", svnurl=source_unix))
fwww_dox.addStep(shell.ShellCommand(
name = "doxygen",
description = "doxygening",
descriptionDone = "doxygen",
name = "aegisub",
description = "generating",
descriptionDone = "done",
logfiles={
'doxygen.log': 'doxygen.log'
},
@ -608,10 +611,28 @@ fwww_dox.addStep(shell.ShellCommand(
"sh",
"-x",
"tinderbox/www/doxygen.sh"
"aegisub"
],
haltOnFailure=True
))
fwww_dox.addStep(shell.ShellCommand(
name = "reporter",
description = "generating",
descriptionDone = "done",
logfiles={
'doxygen.log': 'doxygen.log'
},
command=[
"sh",
"-x",
"tinderbox/www/doxygen.sh"
"reporter"
],
haltOnFailure=True
))
##########
# BUILDERS
##########