aboutsummaryrefslogtreecommitdiffstats
path: root/HACKING
blob: 4c8a5a0301060b2f3739ec77c7a0e47e1c3a6d59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Build from repository
---------------------
 $ ./bootstrap
 $ ./configure

Use `./configure --help' for options. Use `--prefix' to make an install in
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 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/redshift-gtk


Notes
-----
- verbose flag is (currently) only held in redshift.c; thus, write all
  verbose messages there.