diff --git a/docs/build.rst b/docs/build.rst index 2cd799e38..33ae16473 100644 --- a/docs/build.rst +++ b/docs/build.rst @@ -79,8 +79,12 @@ installs the terminfo file and :file:`kitty` that installs the main program. This allows users to install the terminfo file on servers into which they ssh, without needing to install all of kitty. -You also need :file:`tic` to compile the terminfo files, it is usually found in -the development package of :file:`ncurses`. +.. note:: + You need a couple of extra dependencies to build linux-package. + :file:`tic` to compile terminfo files, usually found in the + development package of :file:`ncurses`. Also, :file:`sphinx-build` + from the `Sphinx documentation generator + `_. This applies to creating packages for kitty for macOS package managers such as brew or MacPorts as well. diff --git a/setup.py b/setup.py index 83867d052..eefa1d54a 100755 --- a/setup.py +++ b/setup.py @@ -788,6 +788,7 @@ def main(): ) elif args.action == 'linux-package': build(args, native_optimizations=False) + run_tool(['make', 'docs']) package(args) elif args.action == 'osx-bundle': build(args, native_optimizations=False)