mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
d517a8eb4f
commit
542c35a6cf
@ -196,7 +196,11 @@ the previously checked out calibre code directory, for example::
|
|||||||
|
|
||||||
cd /Users/kovid/work/calibre
|
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.
|
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
|
plugins
|
||||||
db_api
|
db_api
|
||||||
polish
|
polish
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user