diff options
-rw-r--r-- | HACKING | 21 | ||||
-rw-r--r-- | src/redshift.c | 4 |
2 files changed, 23 insertions, 2 deletions
@@ -1,3 +1,20 @@ -- verbose flag is (currently) only held in redshift.c; thus, write all - verbose messages there +Build from bzr branch +--------------------- + $ ./bootstrap + $ ./configure + +Use `./configure --help' for options. Use `--prefix' to make an install in +your home directory. This is necessary to test python scripts. + + $ make + +The main redshift program can be run at this point. To test python +scripts run: + $ make install + + +Notes +----- +- verbose flag is (currently) only held in redshift.c; thus, write all + verbose messages there. diff --git a/src/redshift.c b/src/redshift.c index fc6ed2f..dbbb542 100644 --- a/src/redshift.c +++ b/src/redshift.c @@ -1189,6 +1189,10 @@ main(int argc, char *argv[]) sigaction(SIGUSR1, &sigact, NULL); #endif /* HAVE_SIGNAL_H && ! __WIN32__ */ + if (verbose) { + printf("Status: %s\n", "Enabled"); + } + /* Continously adjust color temperature */ int done = 0; int disabled = 0; |