mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
Run make docs for linux-package only if docs are not found
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user