Skip to content

Commit

Permalink
Check config existence before making it a dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktlim committed Aug 1, 2022
1 parent 7374e9d commit bbd554a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/sconsUtils/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,9 @@ def __call__(self, env, config):
action="doxygen %s" % pipes.quote(outConfigNode.abspath))
for path in self.outputPaths:
env.Clean(doc, path)
env.Depends(doc, config)
self.results.extend(config)
if os.path.exists(config):
env.Depends(doc, config)
self.results.extend(config)
self.results.extend(doc)
return self.results

Expand Down

0 comments on commit bbd554a

Please sign in to comment.