Dont build docs when freezing

This commit is contained in:
Kovid Goyal 2018-06-12 08:41:38 +05:30
parent 105959d91b
commit d79e943844
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -788,7 +788,8 @@ def main():
)
elif args.action == 'linux-package':
build(args, native_optimizations=False)
run_tool(['make', 'docs'])
if not args.for_freeze:
run_tool(['make', 'docs'])
package(args)
elif args.action == 'osx-bundle':
build(args, native_optimizations=False)