ctemp

Set color temperature
git clone git://git.akobets.xyz/ctemp
Log | Files | Refs | README | LICENSE

commit f4b6d44ce63417d6174ca364553216be326209b9
parent 4644dcb259ac1d0a3cc42211d3b686556a47a3d2
Author: Artem Kobets <artem@akobets.xyz>
Date:   Thu,  5 Mar 2020 15:25:10 +0200

Makefile: add dist

Diffstat:
MMakefile | 7+++++++
MREADME | 6+++---
Mctemp.1 | 10+++++-----
3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -23,6 +23,13 @@ ctemp: $(OBJ) clean: rm -f ctemp $(OBJ) +dist: clean + mkdir -p ctemp-$(VERSION) + cp -R LICENSE README Makefile config.mk ctemp.1 \ + arg.h $(SRC) ctemp-$(VERSION) + tar -cf - ctemp-$(VERSION) | gzip > ctemp-$(VERSION).tar.gz + rm -rf ctemp-$(VERSION) + install: ctemp mkdir -p $(DESTDIR)$(PREFIX)/bin cp -f ctemp $(DESTDIR)$(PREFIX)/bin diff --git a/README b/README @@ -14,8 +14,8 @@ Depending on build options, you may need the following to build ctemp: Installation ------------ -Edit config.mk to match your local setup (ctemp is installed into -the /usr/local namespace by default). +Edit config.mk to match your local setup (ctemp is installed in +/usr/local namespace by default). Afterwards enter the following command to build and install ctemp (if necessary as root): @@ -29,4 +29,4 @@ Inspired by sct - https://flak.tedunangst.com/post/sct-set-color-temperature and Redshift - https://github.com/jonls/redshift -See the man page for additional details. +See man page for additional details. diff --git a/ctemp.1 b/ctemp.1 @@ -23,19 +23,19 @@ define interface to use. .RS .PP .B drm -- use DRM API. +- use DRM. .br -Use this in console mode (no X11). +For console (no X11). .PP .B quartz -- use Quartz API (OS X). +- use Quartz (OS X). .br Program will not exit after applying changes if this interface is used. .br This is due to OS X limitations of discarding color temperature changes on program exit. .PP .B x -- use X11 API. +- use X11. .PP If .B ctemp @@ -54,7 +54,7 @@ Value between 1000 and 25000, with interval 100, rounded down. .br ctemp -i drm 4000 .PP -# set regular color temperature in X11 session. +# set regular color temperature in X11 session .br ctemp -i x 6500 .SH AUTHORS