Update docs for macOS dev env. Fixes #1797740 [MacOS development environment setup instructions are wrong](https://bugs.launchpad.net/calibre/+bug/1797740)

This commit is contained in:
Kovid Goyal 2018-10-18 09:19:42 +05:30
parent d517a8eb4f
commit 542c35a6cf
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -196,7 +196,11 @@ the previously checked out calibre code directory, for example::
cd /Users/kovid/work/calibre
calibre is the directory that contains the src and resources sub-directories. Ensure you have installed the calibre commandline tools via :guilabel:`Preferences->Advanced->Miscellaneous` in the calibre GUI.
calibre is the directory that contains the src and resources sub-directories.
The calibre command line tools are found inside the calibre app bundle, in
:file:`/Applications/calibre.app/Contents/console.app/Contents/MacOS`
you should add this directory to your PATH environment variable, if you want to
run the command line tools easily.
The next step is to create a bash script that will set the environment variable ``CALIBRE_DEVELOP_FROM`` to the absolute path of the src directory when running calibre in debug mode.
@ -411,4 +415,3 @@ API documentation for various parts of calibre
plugins
db_api
polish