Run make docs for linux-package only if docs are not found
This commit is contained in:
parent
1b8c6b23e1
commit
2db83ecf1e
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -790,6 +790,8 @@ def main():
|
|||
)
|
||||
elif args.action == 'linux-package':
|
||||
build(args, native_optimizations=False)
|
||||
if not os.path.exists(os.path.join('docs/_build/html/index.html')):
|
||||
run_tool(['make', 'docs'])
|
||||
package(args)
|
||||
elif args.action == 'osx-bundle':
|
||||
build(args, native_optimizations=False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue