aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING17
1 files changed, 12 insertions, 5 deletions
diff --git a/HACKING b/HACKING
index 0037827..127cd29 100644
--- a/HACKING
+++ b/HACKING
@@ -8,9 +8,17 @@ The bootstrap script will use autotools to set up the build environment
and create the `configure` script.
Use `./configure --help' for options. Use `--prefix' to make an install in
-your home directory. This is necessary to test python scripts. Example:
+your home directory. This is necessary to test python scripts. The systemd
+user unit directory should be set to avoid writing to the system location.
- $ ./configure --prefix=$HOME/redshift/root
+Systemd will look for the unit files in `~/.config/systemd/user` so this
+directory can be used as a target if the unit files will be used. Otherwise
+the location can be set to `no` to disable the systemd files.
+
+Example:
+
+ $ ./configure --prefix=$HOME/redshift/root \
+ --with-systemduserunitdir=$HOME/.config/systemd/user
Now, build the files:
@@ -21,10 +29,9 @@ prefix directory run:
$ make install
-You can now run the python scripts. Example:
+You can now run the python script. Example:
- $ PYTHONHOME=$HOME/redshift/root/lib/python2.7/site-packages \
- $HOME/redshift/root/bin/redshift-gtk
+ $ $HOME/redshift/root/bin/redshift-gtk
Depenencies