aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2012-02-04 00:42:29 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2012-02-04 00:42:29 +0100
commit64b6a0b2d6fade8382a90da118521d14ac53ff63 (patch)
treef838223212fbc982529ea0485d90f0fa85d336b7
parentMerge gtk-redshift option to suspend for a short time period (Jendrik Seipp). (diff)
downloadredshift-ng-64b6a0b2d6fade8382a90da118521d14ac53ff63.tar.gz
redshift-ng-64b6a0b2d6fade8382a90da118521d14ac53ff63.tar.bz2
redshift-ng-64b6a0b2d6fade8382a90da118521d14ac53ff63.tar.xz
HACKING: Add further notes on testing python scripts.
-rw-r--r--HACKING15
1 files changed, 12 insertions, 3 deletions
diff --git a/HACKING b/HACKING
index a127485..86b58bc 100644
--- a/HACKING
+++ b/HACKING
@@ -4,15 +4,24 @@ Build from bzr branch
$ ./configure
Use `./configure --help' for options. Use `--prefix' to make an install in
-your home directory. This is necessary to test python scripts.
+your home directory. This is necessary to test python scripts. Example:
+
+ $ ./configure --prefix=$HOME/redshift/root
+
+Now, build the files:
$ make
-The main redshift program can be run at this point. To test python
-scripts run:
+The main redshift program can be run at this point. To install to the
+prefix directory run:
$ make install
+You can now run the python scripts. Example:
+
+ $ PYTHONHOME=$HOME/redshift/root/lib/python2.7/site-packages \
+ $HOME/redshift/root/bin/gtk-redshift
+
Notes
-----