From c2ca92a97a5f8e605f8abfef9f773548ba1711a3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 27 Jul 2012 17:35:11 +0530 Subject: [PATCH] ... --- manual/develop.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manual/develop.rst b/manual/develop.rst index 3a9488ccf5..d59c315951 100644 --- a/manual/develop.rst +++ b/manual/develop.rst @@ -152,14 +152,17 @@ calibre is the directory that contains the src and resources sub-directories. En 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. Create a plain text file:: + #!/bin/sh export CALIBRE_DEVELOP_FROM="/Users/kovid/work/calibre/src" calibre-debug -g Save this file as ``/usr/bin/calibre-develop``, then set its permissions so that it can be executed:: + chmod +x /usr/bin/calibre-develop -Once you have done this, type:: +Once you have done this, run:: + calibre-develop You should see some diagnostic information in the Terminal window as calibre